[Python-Dev] Re: Decimal data type issues (original) (raw)
Michael Chermside mcherm at mcherm.com
Thu Apr 22 11:50:18 EDT 2004
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] Re: Decimal data type issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Facundo writes:
> #- c.usingcontext(input)
You mean adding a method to the context, to create a Decimal using itself as context and not the one from the thread? If yes, what about c.createdecimal(number) ? And with floats? c.createdecimalfromfloat(number)? Or the same method that before?
+1 on Context.create_decimal(float) and Context.create_decimal(string) (okay, so it's really just one method that takes two input types).
The name just fits my brain. The fact that it uses the context is obvious from the fact that it's Context method.
-- Michael Chermside
- Previous message: [Python-Dev] Re: Decimal data type issues
- Next message: [Python-Dev] Re: Decimal data type issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]