Python, mysql, floating point values question

Andy Dustman farcepest at gmail.com
Sun Jul 3 09:10:26 EDT 2005


Use DECIMAL columns with MySQLdb-1.2.0 and Python-2.4 and you should
get values back using Python's new decimal type.

http://docs.python.org/whatsnew/node9.html

This avoids floating point inaccuracies.




More information about the Python-list mailing list