I would like to round off the below numbers to nearest wholenumber using awk command and copy it to another column say col11 and col12. can anyone help
eg 1)
column5,column6,,,,,column11,column12, -21733.3, -4129.327,,,,,,, output expected
column5,column6,,,,,column11,column12, -21733.3, -4129.327,,,,,-21733,-4129, column5,column6,,,,,column11,column12, 21733.3,4129.327,,,,,,, output expected
column5,column6,,,,,column11,column12, 21733.3,4129.327,,,,,21733,4129,
.5round up, or round down, or round to the nearest even number ("unbiased" rounding) or does it not matter? See gnu.org/software/gawk/manual/gawk.html#Round-Function.