Hi,
I have a file containing floating points. I need to add them all together and then divide by the total number (avg) whilst keeping the decimal precision. An example of each row is:
000001.062
000001.938
000000.812
000000.922
000001.047
Also these values actually represent time i.e 1.062 seconds etc. Can anyone help on this, I've spent a lot of time looking on the web and not found what I'm after.
Regards,
I have a file containing floating points. I need to add them all together and then divide by the total number (avg) whilst keeping the decimal precision. An example of each row is:
000001.062
000001.938
000000.812
000000.922
000001.047
Also these values actually represent time i.e 1.062 seconds etc. Can anyone help on this, I've spent a lot of time looking on the web and not found what I'm after.
Regards,