[Top][All Lists]

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

Re: built-in printf %f parameter format depend on LC_NUMERIC

From: Chet Ramey
Subject: Re: built-in printf %f parameter format depend on LC_NUMERIC
Date: Fri, 12 Jul 2019 15:50:52 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 7/12/19 3:46 PM, Dennis Clarke wrote:

> uh huh ...
>          LC_NUMERIC
>              This category specifies the  decimal  and  thousands
>              delimiters.  The  information  corresponding to this
>              category is stored in a  database   created  by  the
>              localedef()    command.   The   default   C   locale
>              corresponds to "." as the decimal delimiter  and  no
>              thousands  delimiter.  This  environment variable is
>              used by localeconv(3C), printf(3C), and strtod(3C).

I assume this means that bc doesn't use strtod.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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