A RetroSearch Logo

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

Search Query:

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

[Python-Dev] PEP 327: Decimal data type

[Python-Dev] PEP 327: Decimal data typeAahz aahz at pythoncraft.com
Fri Apr 2 15:33:17 EST 2004
On Wed, Mar 31, 2004, Batista, Facundo wrote:
> 
> This PEP is ready for your review.

Excellent work!  Only one nitpick:

> Syntax for All Cases
> ''''''''''''''''''''
> 
> ::
> 
>     Decimal(value1)
>     Decimal.from_float(value2, [decimal_digits])
> 
> where ``value1`` can be int, long, string, tuple or Decimal,
> ``value1`` can be only float, and ``decimal_digits`` is an optional
> int.

You mean value2 in the second case, right?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"usenet imitates usenet"  --Darkhawk

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