Rounding big numbers?!
Show older comments
How come when I try to round say 1799999999999999916113920.000000 to 3 significant digits from the left I can't get 18000000000....... Here is my instructions:
fprintf('%f %f\n',round(1799999999999999916113920.000000,3,'significant'),1799999999999999916113920.000000)
My output:
1799999999999999916113920.000000 1799999999999999916113920.000000
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!