Rounding error - using floor
Thu, 04/29/2021 - 06:56 am
I have just come across this somewhat odd inconsistency:
•print( floor(5 * (100 - 80) / 100 ) )
My guess is that this is due to floating point arithmetic, or something similar?
Not a big deal as I am (now!) using the second expression.