I do not understand what's going on in these cases:
Math.abs(40.35 * 100)
->4035
Math.abs(40.36 * 100)
->4036
Math.abs(40.37 * 100)
->4036.9999999999995
Math.abs(40.38 * 100)
->4038.0000000000005
Math.abs(40.39 * 100)
->4039
Why does this happen?
I though math.abs()
returns absolute values (?).
Thank you a lot
EDIT* Thanks for the referencing link, did not find anything like that