Rounding big numbers?!
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!