A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-April/044325.html below:

[Python-Dev] Decimal data type issues

[Python-Dev] Decimal data type issues [Python-Dev] Decimal data type issuesKa-Ping Yee python-dev at zesty.ca
Fri Apr 16 05:34:59 EDT 2004
On Fri, 16 Apr 2004, Moore, Paul wrote:
> From: Ka-Ping Yee
> > Here is my point, again: Decimal(1.1, significant_digits=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.

It is no more confusing than '%.33f' % 1.1, which gives you exactly
the same thing.


-- ?!ng

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4