Forum Discussion
Rolf Hansmann
Feb 10, 2017Copper Contributor
Why 4 equals 5?
Please calculate the following formular without any division in it:
=int((6.05-6)*100)
8 Replies
- Detlef_LewinSilver Contributor
Hello Rolf
That's the famous Floating Point Error.
Tutorial to Understand IEEE Floating-Point Errors
How To Implement Custom Rounding Procedures
IEEE floating point (Wikipedia)
Floating Point Numbers - Computerphile (with Tom Scott)
- Rolf HansmannCopper Contributor
I thought a dividing operation is required to get an floating point error. This is a minus operation??
- Detlef_LewinSilver Contributor
Well, you thought incorrectly.
The kind of arithmetic operation does not matter.