Why not FP for Money?

Batista, Facundo FBatista at uniFON.com.ar
Thu Sep 23 21:20:16 CEST 2004


[aahz at pythoncraft.com]

#- Not sure of precise syntax (haven't tried 2.4 yet), but this should
#- work:
#- 
#-     a = decimal.from_float(35.72)

No, we trimmed that construct method. You can NOT create a decimal from a
float.

.	Facundo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040923/f6c655f0/attachment.html>


More information about the Python-list mailing list