[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark
Mauricio de Alencar
report at bugs.python.org
Tue Feb 4 14:39:02 CET 2014
Mauricio de Alencar added the comment:
String formatting is completely unaware of the concept of *significant digits*. The only format that can get it right for every case is the 'e'. But then you always get the exponent, which is undesirable. I was hopeful that the decimal module would handle significant digits as I need.
I will settle with the workaround I posted earlier.
Thanks anyway.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20502>
_______________________________________
More information about the Python-bugs-list
mailing list