Info
此问题已关闭。 请重新打开它进行编辑或回答。
I've noticed that import changes numbers slightly. For example, 0.417 becomes 0.416999999999. What is causing this to happen?
2 次查看(过去 30 天)
显示 更早的评论
I've noticed that import changes numbers slightly. For example, 0.417 becomes 0.416999999999. What is causing this to happen?
1 个评论
John D'Errico
2016-1-14
编辑:John D'Errico
2016-1-14
0.417 is a number that does not exist in a BINARY floating point form, so it is stored as
0.4169999999999999817923423961474327370524406433105468750
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!