|No such thing as a small change
Perl returns NaN after additionby pimperator (Acolyte)
|on Oct 17, 2013 at 00:38 UTC
pimperator has asked for the wisdom of the Perl Monks concerning the following question:
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?