[issue20502] Context.create_decimal_from_float() inconsistent precision for zeros after decimal mark
Mauricio de Alencar
report at bugs.python.org
Tue Feb 4 16:46:45 CET 2014
Mauricio de Alencar added the comment:
> You need to stop lecturing.
I'm sorry, I didn't mean to offend anyone. I just felt I was failing to
communicate the issue when I got the suggestion to use format(Decimal(1),
".2f").
> The above sentence you wrote directly contradicts the Wikipedia link you
have thrown at us.
The floats I posted are examples of computation results. The meaningful
figures are related to the precision of the measurements fed to the
computation.
> by different authors and produce exactly the results that you criticize.
I understand the design choice for decimal. I just miss a pythonic way of
dealing with significant figures.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20502>
_______________________________________
More information about the Python-bugs-list
mailing list