bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: thousands separator


From: Eli Zaretskii
Subject: Re: thousands separator
Date: Thu, 09 Jul 2009 21:07:28 +0300

[Resending, since it failed to get to the list.]

> Date: Wed, 08 Jul 2009 23:09:45 +0300
> From: Aharon Robbins <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > > Eli,
> > > 
> > > What do you get for
> > > 
> > >   BEGIIN { printf("%'d\n", 1234567 }
> > > 
> > > A random character each time?
> >
> > No, I get the same result, "1234567", every time.  But the thousands
> > separator printed by your test program is a comma.
> 
> Strange. There is still something weird going on. The "grouping" field
> is actually supposed to be an array of small values.  A new program
> is below. Here is what the output looks like on my Linux box:
> 
>       $ LC_ALL=en_US.UTF-8 ./thousep
>       thousands_sep = ,
>       loc.grouping[0] = 3
>       loc.grouping[1] = 3
> 
> I'd like to know what we get on XP and on Vista.

On XP:

    thousands_sep = ,
    loc.grouping[0] = 3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]