Guillermo Camacho
Followers: 0 Following: 0
Feeds
提问
Is there a way to avoid this inaccuracy when converting an string to a double and then to an unsigned int? I have tried using str2num() but get the same result.Thanks!
uint64(str2double('132697151393876469')) %ans = % uint64 % 132697151393876464 % note that the ans is the same for inputs ...
3 years 前 | 2 个回答 | 0