I have a file that's ~2.3 million lines long and has three columns I'm only interested in the third column. I need to add up all of the variables. First I thought it was due to scientific notation (-0.2E-4). But a made copies of the raw files in decimal notation, and that did not work. Could it be that it's too large for perl? or it could be a non-numeric variable in the data file, so how would I test for that?
In reply to Perl returns NaN after addition by pimperator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |