Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
I've noticed that import changes numbers slightly. For example, 0.417 becomes 0.416999999999. What is causing this to happen?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I've noticed that import changes numbers slightly. For example, 0.417 becomes 0.416999999999. What is causing this to happen?
1 Commento
John D'Errico
il 14 Gen 2016
Modificato: John D'Errico
il 14 Gen 2016
0.417 is a number that does not exist in a BINARY floating point form, so it is stored as
0.4169999999999999817923423961474327370524406433105468750
Risposte (1)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!