Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: LC_NUMERIC=fr_FR and floating point arithmetics



Oliver Kiddle wrote:
>But keeping locale handling in output means that scalar parameters
>can't be reused in a calculation.

Numeric output should by default be in the input format (C locale)
so that it can be reused in the expected manner.  If printf is not
sufficient for rendering numbers in human format, we could add an
output-using-locale flag to the output format specification syntax of
$(()) -- there's already syntax to select the radix to use on output.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author