[Python-Dev] Re: Decimal data type issues

Aahz aahz at pythoncraft.com
Sat Apr 17 10:03:46 EDT 2004


On Fri, Apr 16, 2004, Kevin Jacobs wrote:
>
> Don't forget that many financial applications use fixed scale and
> precision as their primary mechanism for specifying Decimal types.  As
> such, it would be very nice to have a constructor that took a literal
> representation as well as scale and precision.  While using context is
> sufficient, it will be unintuitive and may present an undue burden on
> many users.

Could you use an example to explain what you mean?  This doesn't make
sense to me given that there are already two mechanisms for precisely
specifying the input to Decimal().
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ



More information about the Python-Dev mailing list