Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: LC_NUMERIC=fr_FR and floating point arithmetics
- X-seq: zsh-workers 18333
- From: Zefram <zefram@xxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: LC_NUMERIC=fr_FR and floating point arithmetics
- Date: Mon, 10 Mar 2003 19:25:26 +0000
- Cc: Stephane CHAZELAS <Stephane_CHAZELAS@xxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <1556.1047286700@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030224184502.A9922@xxxxxxxxxxxxxxxxxx> <1556.1047286700@xxxxxxxxxxxxxxxxxxxx>
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