|
From: Allin C. <cot...@wf...> - 2014-11-04 16:26:47
|
On Tue, 4 Nov 2014, pl...@pi... wrote: [...] > > What is the correct way to trap this condition? > > (isNaN($2)) undefined function: isNaN > ($2==NaN) never true > ($2==0) not true for NaN in col 2 > (exists($2) always true, even for NaN > > Is there currently a test condition that will trap NaN in the datafile ? If it works like C, the test $2!=$2 should do it. A NaN tests as not equal to itself! Allin Cottrell |