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/044497.html below:

[Python-Dev] Re: Decimal data type issues

[Python-Dev] Re: Decimal data type issues [Python-Dev] Re: Decimal data type issuesTim Peters tim.one at comcast.net
Wed Apr 21 13:03:56 EDT 2004
[Batista, Facundo]
> ...
>   - Methods like round() don't need to be discussed: the Spec defines
> how them work, and the PEP is for implementing the PEP.

Actually, there is no round() operation in the spec.  I don't remember
whether there used to be, but there definitely isn't now.  Doesn't mean we
can't supply .round(), does mean we have to spell out what it does.  I
assume decimal.round(whatever) acts the same as the spec's decimal.plus()
would act if "whatever" were temporarily (for the duration of plus()) folded
into context.  If so, that's all it needs to say.


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