[prog] awk error
Diana Ionescu
dianabesliu at yahoo.com
Fri Mar 21 01:43:39 UTC 2008
Hello,
I finally discovered the error in my codes (shell sccripts & c/c++) ...
I have a fresh new gentoo64 installed with 2.6.24-gentoo-r3, gcc-4.1.2, GNU Awk 3.1.5
So here is the *thing*
echo 60 6.510417e-05 | awk '{print ($1*$2)}'
360
when it should be: 0.00390625 (which I get on a different computer)
How can I enable the exponential readings? Or where is it coming from?
I should specify that I not sure if I can change the outputs of the codes into "normal" writing numbers.
Any help is very much appreciate.
Please excuse me if this is not exactly a programming problem.
Many thanks,
Diana
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. La boite email la plus appreciée au monde. http://mail.yahoo.fr
More information about the Programming
mailing list