Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build break - commaizenumber



On Tue, Mar 15, 2011 at 10:16:34AM -0500, Eric Haszlakiewicz wrote:
> On Tue, Mar 15, 2011 at 04:09:21PM +0100, Joerg Sonnenberger wrote:
> > In addition, the thousand separator is a locale specific concept, many
> > locales don't set one. Try 
> > 
> > #include <locale.h>
> > #include <stdio.h>
> > 
> > int main(void)
> > {
> >         setlocale(LC_ALL, "");
> >     printf("%'d\n", 8000000);
> > }
> > 
> > Compare LC_ALL=C and LC_ALL=pt_BR.ISO8859-1.
> 
> Well, in that case we need the commaize_number function anyway.

No. As I wrote on source-changes, if anything, it should be a flag to
humanize_number.

Joerg


Home | Main Index | Thread Index | Old Index