Re: 12M? or 12 000 000? (not 12000000)

Emanuel Berg <[email protected]> Thu, 23 Jun 2022 08:33:51 +0200
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Ethan Merritt wrote:

> A correction, sorry. I meant to say the standard "C" local
> does not use a special character for the thousands
> separator. That is the default for gnuplot. en_US locale
> uses a comma. fr_FR uses a space.
>
> set decimal locale 'fr_FR.UTF-8' 
> FR = sprintf("%'.2f", A) 
> print "FR format is ", FR
> Output:
> 
> decimal_sign in locale is . 
> decimal_sign in locale is , 
> US format is  1,234,567.89 
> FR format is  1 234 567,89

Thanks for the explanation and example, I get it, but I'm not
getting it to work.

First, for me it says "decimal sign in locale is ." after
I set it to French; and after that it's still 14000000, i.e.
no grouping.

14M would be optimal IMO but 14 000 000 much better than
14000000 and "good enough for government work" I guess.

-- 
underground experts united
https://dataswamp.org/~incal



_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info