First page
Back
Continue
Last page
Overview
Graphics
Hey, I Thought Python HAD Decimals!
>>> x = 3.5
>>> print x + 2.1
5.6
>>> 8.7
8.6999999999999993
>>>
That's
Binary
Floating Point; the decimal module does
Decimal
Floating Point
Notes: