Dero ha scritto:
> Hello
>
>
> I have following in model.py
>
> amount =
> CurrencyCol(title="amount",dbName="Amount",default=0.00,notNone=True)
>
> If I display this in a tgfastdatagrid I see the amount being
> formated like this : 12345678.0
>
> What I want is this : 12,345,678.00
>
>
> Thanks
>
>>> tg.i18n.format_currency(12345678.0)
u'12,345,678.00'
Glauco
--
+------------------------------------------------------------+
Glauco Uri - Programmatore
glauco(at)allevatori.com
Sfera Carta Software(R) [EMAIL PROTECTED]
Via Bazzanese,69 Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---