[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: awk float problems ( decimal dot or comma separator and unexpected r
Re: awk float problems ( decimal dot or comma separator and unexpected results whether print or printf)
Wed, 02 Aug 2006 19:06:19 +0200
Thunderbird 184.108.40.206 (X11/20060527)
Ramírez Sánchez-Escobar José Julio wrote:
> Summing up, How can I increase the value 0.5 in steps of 0.5 each,
> and why I'm getting as decimal separator a comma instead of a dot?.
Because your locale (in Spain) uses a comma.
Use the command "locale" and find out how your
settings actually are.
> There is anyway to specify the kind of awk separator for floats as
> an others prebuilt awk variables?
Yes, use a different locale. This is an OS setting.
> Could this be the problem to get the right value?, Is this a bug?
No, this is not a bug. At least not in gawk.
> I'm completely lost with this, and I would appreciate very much
> any suggestion.
This is a FAQ. Ask other users before posting a "bug"
to gnu.utils.bug. If you really want people to help
you, take care to ease the pain of reading your stream
|[Prev in Thread]
||[Next in Thread]|
- Re: awk float problems ( decimal dot or comma separator and unexpected results whether print or printf),
Jürgen Kahrs <=