-
Committer:
Peeyush Gupta
-
Date:
2014-07-17 08:41:09 UTC
-
Revision ID:
peeyush.x.gupta@oracle.com-20140717084109-xdcmpmakqn6c9hxm
BUG#19225481: Fix floating point inaccuracy with Python v2
Fix Connector/Python truncating digits from float values with
Python v2. This was not happening with Python v3 since str()
function in v3 does not truncate digits while converting
floats to string. This was resolved by using repr() instead of
str() for floating point values while converting them to string.
A unit test has been added for BUG#19225481.