[Zope3-Users] zope.i18n.locales and currency

Brian Sutherland jinty at web.de
Fri May 23 07:34:21 EDT 2008


On Fri, May 23, 2008 at 12:16:41PM +0200, Adam GROSZER wrote:
> Hello,
> 
> Which is the sane to format currencies?
> 
> locale.numbers.getFormatter('currency').format(value)
> Holds something like: ¤1,000,000.00
> 
> Should I simply replace "¤" with the currency sign or is there a
> better way?

That's more or less what I've been doing. I looked extensively, but
couldn't find a better way. (or even any documentation)

> 
> 
> -- 
> Best regards,
>  Adam GROSZER                          mailto:agroszer at gmail.com
> --
> Quote of the day:
> I believe that there are too many accommodating preachers... Jesus Christ did not say "Go into the world and tell the world that it is quite right." The Gospel is something completely different. In fact, it is directly opposed to the world. 
> - C.S. Lewis 
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

-- 
Brian Sutherland


More information about the Zope3-users mailing list