[Python-ideas] decimal by default

Joshua Spoerri joshua.spoerri at gmail.com
Tue May 13 15:52:35 CEST 2008


Should decimal be the default for floating period literals?

E.g.
1.2 would actually be decimal.Decimal("1.2")
and float(1.2) would be used to get traditional binary float point.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20080513/c7875383/attachment.html>


More information about the Python-ideas mailing list