Rounding big numbers?!
Afficher commentaires plus anciens
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
1 commentaire
tonton
le 22 Avr 2016
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!