Hello I need to add two columns using awk, the colums are made of rational numbers. example:
#/file
20.2 15
15.4 18.4
13.4 14.6
I tried using awk '{print $1+$2}' /file
. I seem to be getting integer values (25,43,27)
.
How do I get awk to print rational values?