Re: Precision lost when running gawk program from bat file
by Toby Darling <anothercoffee@[EMAIL PROTECTED]
>
Feb 11, 2008 at 10:01 AM
Hi
> I understand why you think so but I am not. The thing is that a have
No problem, just checking.
> I also tried the example found in the manual with the same result. I
> did notice one thing though. I cant find the LC_ALL variable in a
> console window it is only "valid" in cygwin? Also, one thing that
> makes no sence is that use a console window in both cases above. I
> dont use Cygwin or anything else. I would not suspect windows to
> behave different in a console or a batch file...well no precision is
> fine for me but it bothers me a bit when I dont know why it happens.
You'll need to 'set LC_ALL=en_DK' in the window or batch file, but
that doesn't seem to make any difference for me.
I'm no wiser as to what's going wrong either, I can only get the
correct [unrounded] output if I replace 4,321 with 4.321 (in Ed's
example).