Python
>>> 0.1 + 0.1 + 0.1
0.30000000000000004

>>> 0.1 + 0.1 + 0.1 == 0.3
False
>>> 0.1 + 0.1
0.2

>>> 0.1 + 0.1 == 0.2
True

Python
>>> import sys
>>> sys.float_info.epsilon
2.220446049250313e-16
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/Python/Value for epsilon in Python
last modified 2018-07-18 14:31:19