Community Profile

photo

Guillermo Camacho


Last seen: 4 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ...

2 years ago | 2 answers | 0

2

answers