Hi!
I am trying to make a program, for which I need high precision. My problem is that I do not understand how AWK is working, I mean:
echo 1.00001E-6 | awk -v FS=" " -v D=0 'D=D+$1 {printf("%.12g\n",D)}'
1.00001e-06
(I obtain this result from %.06g to %.17g)
but:
echo 1.00001E-6 | awk -v...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.