There's no way around the ``Decimal``? Otherwise I cannot confirm the
inelegancyness except this construct
the moneyfmt routine I downloaded requires the Decimal package (i.e decimal.Decimal). I didn't have time to try writing my own version. It has a bug that if you specify number of decimal places = 0 it shows the trailing decimal point.
- dharhas
Hi Dharhas,
2010/10/19 Dharhas Pothina <Dharhas.Pothina@...3115...>:
There's no way around the ``Decimal``? Otherwise I cannot confirm the
inelegancyness except this construct
the moneyfmt routine I downloaded requires the Decimal package (i.e decimal.Decimal). I didn't have time to try writing my own version. It has a bug that if you specify number of decimal places = 0 it shows the trailing decimal point.
Is there a specific reason to not use py2.7, as suggested by Goekhan?
I would not bet my life that it's possible without any problems, but
if, then the new format specification seems much better then the
clumsy Decimal "workaround".
I just ran across this while informing myself about py2.7.
Hmm ... I see there is no binary for py2.7 (today), so you'd have to
compile it yourself. Might be kind of a problem if you're using
Windows.
Friedrich