[Python-Dev] Decimal data type issues (original) (raw)

Moore, Paul Paul.Moore at atosorigin.com
Fri Apr 16 05:19:53 EDT 2004


From: Ka-Ping Yee

Here is my point, again: Decimal(1.1, significantdigits=4) is unambiguous.

Converting from float is not confusing when the precision is specified (either in terms of significant digits or decimal places).

Decimal(1.1, significant_digits=34) is unambiguous, but confusing.

Paul.


This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.




More information about the Python-Dev mailing list