Alike, that setting LC_NUMERIC does not influence on decimal point representation in gawk.
When I type
>gawk "BEGIN { print 123/100; }"
I get
1,23
that corresponds tuning in control panel
But when I type
>SET LC_NUMERIC=C
>gawk "BEGIN { print 123/100; }"
I againg got
1,23
What am I doing wrong?
Vadim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-22
> What am I doing wrong?
Thinking Windows is Unix ;)
Unless an application or library specifically looks for them, the LC_* or LANG environment variables have no effect on Windows. The C library does not use them.
To change the decimal point, use the Regional Settings in Control Panel.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Alike, that setting LC_NUMERIC does not influence on decimal point representation in gawk.
When I type
>gawk "BEGIN { print 123/100; }"
I get
1,23
that corresponds tuning in control panel
But when I type
>SET LC_NUMERIC=C
>gawk "BEGIN { print 123/100; }"
I againg got
1,23
What am I doing wrong?
Vadim
> What am I doing wrong?
Thinking Windows is Unix ;)
Unless an application or library specifically looks for them, the LC_* or LANG environment variables have no effect on Windows. The C library does not use them.
To change the decimal point, use the Regional Settings in Control Panel.