黑鬼
Why does (int)(33.46639 * 1000000) return 33466389?
(int)(33.4开发者_如何转开发6639 * 1000000) returns 33466389 Why does this happen?Floating point math isn\'t perfect.What every programmer should know about it.[详细]
2022-12-22 18:55 分类:问答
(int)(33.4开发者_如何转开发6639 * 1000000) returns 33466389 Why does this happen?Floating point math isn\'t perfect.What every programmer should know about it.[详细]