math.ceil(122.0000000000000001) showing 122 while math.ceil(122.00000001) showing 123
There is a limit in math.ceil and why is that for.
math.ceil(122.0000000000000001) showing 122 while math.ceil(122.00000001) showing 123
There is a limit in math.ceil and why is that for.
The problem occurs before math.ceil
is called:
>>> 122.0000000000000001
122.0
>>> 122.00000001
122.00000001