— He's not asking for help ¯\_(ツ)_/¯
— People cant read context i guess
— Yes! Thank you so much! This is exactly what I want!
— Language:
python3
Source:
print(round(2018.1 - 2018, 10))
print(round(2018.12 - 2018, 10))
Result:
0.1
0.12
Message permanent page
— Actually, didn't see this, but this is pretty much the same.
— And what is normally handled by format strings
— How about using decimal?