bin/72006: floating point formating in non-C locales

Mikhail Teterin mi+mxmoz at aldan.algebra.com
Wed Sep 22 18:50:31 PDT 2004


The following reply was made to PR bin/72006; it has been noted by GNATS.

From: Mikhail Teterin <mi+mxmoz at aldan.algebra.com>
To: Giorgos Keramidas <keramida at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: bin/72006: floating point formating in non-C locales
Date: Wed, 22 Sep 2004 16:51:21 -0400

 Giorgos Keramidas wrote:
 
 >        en_US locale            Greek locale
 >            1,000.00                1.000,00
 >        2,000,000.00            2.000.000,00
 >
 >If the dot character was recognized as a fractional dot in *addition* to the
 >locale-specific character, then the numbers of the right column above would
 >not be valid numbers.
 >  
 >
 These numbers are not parsable one way or the other -- the "thousand 
 separators" are not, AFAIK, supported at all:
 
     printf: 2.000.011
     printf: 2.000.011: not completely converted
     2
 
     -mi
 
 


More information about the freebsd-bugs mailing list