[Python-Dev] Re: Decimal data type issues (original) (raw)
Aahz aahz at pythoncraft.com
Sat Apr 17 10:09:51 EDT 2004
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] syncmail question - how to get submitter as From:?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Apr 16, 2004, Batista, Facundo wrote:
We all must decide which of the following is better: a) Decimal(number) # no context used Decimal(number, context) b) Decimal(number) # no context used Decimal.usingcontext(number, context)
Based on my reading of Tim's posts, there's also
c) Decimal(number, [context]) # context always used, with
# optional different from default
-- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"I used to have a .sig but I found it impossible to please everyone..." --SFJ
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] syncmail question - how to get submitter as From:?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]