Jooel, here's another twist on your UDF ... actually returns Booleans ...


Code:

function isNumeric($var)
$IsNumeric = iif($var=0.0+$var,NOT 0,NOT 1)
endfunction