Menu

Setting LC_NUMERIC does not work in gawk

Help
2006-02-22
2012-07-26
  • Nobody/Anonymous

    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

     
    • Anonymous

      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.

       
MongoDB Logo MongoDB