Question
isNumeric() returns true for "NaN"
According to the docs isNumeric(arg) returns "True, if arg
can be converted to a number; otherwise False."
However (in CFMX7)
<cfset temp = "NaN">
<cfoutput>#isNumeric(temp)#</cfoutput> <!---outputs "YES"--->
<cfset temp = temp + 1> <!---generates error The value "NaN" cannot be converted to a number--->
So obviously something is wrong.
However (in CFMX7)
<cfset temp = "NaN">
<cfoutput>#isNumeric(temp)#</cfoutput> <!---outputs "YES"--->
<cfset temp = temp + 1> <!---generates error The value "NaN" cannot be converted to a number--->
So obviously something is wrong.
