Laura Creighton <l...@openend.se> wrote: >If you are giving a talk about Decimal -- and trying to stamp out the >inappropriate use of floats you have to first inform people that >what they learned as 'decimals' as children was not floating point, >despite the fact that we write them the same way. ...
To be fair, prior to electronic computers, they were essentially synonymous. It's a bit like finance experts chiding people for mixing "cost" with "price". >>> Decimal('0.3') Decimal('0.3') >>> Decimal(0.3) Decimal('0.299999999999999988897769753748434595763683319091796875') -- https://mail.python.org/mailman/listinfo/python-list