Rounding big numbers?!
Mostrar comentarios más antiguos
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 comentario
tonton
el 22 de Abr. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!