Decimal arithmatic, was Re: Python GUI app to impress the boss?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Fri Sep 20 14:44:36 CEST 2002


Magnus Lyckå <magnus at thinkware.se> writes:
> Ok, you might say that it's not a big thing to write
> 
> x = 5 * Decimal(2.43)
> 
> instead, but it's not quite the same thing.

It would have to be x = 5 * Decimal('2.43')



More information about the Python-list mailing list