Python accept an integer as 12345.
When commify it (web.util.commify(12345)), return as 12,345 (a
string). But the correct format in some countries must be 12.345,
where '.' is thousand sep.
Same for decimal sep.

On 29 Gen, 08:16, Aaron Swartz <m...@aaronsw.com> wrote:
> won't the locale module tell you these? we should use that instead of having
> our own config
>
> actually, does locale already do commification?
>
> On Jan 29, 2009 2:13 AM, "leone" <handja...@gmail.com> wrote:
>
> Some european countries use decimal and thousand separator in
> different manner as in US. The tousand separator is '.' and decimal is
> ','.
> I suggest to insert two config variables (as
> web.config.sep_decimal ...) to user commify around the world.
> Bye
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com
To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to