Determines whether a float is NaN or not.
float
Syntax
bool float.IsNaN()
Returns
A bool that indicates whether the float is NaN or not.
bool
Sample
boolSample.rfsvar d = float.NaN(); ... var e = (000.0321).IsNaN(); var f = d.IsNaN(); trace e, f;
boolSample.rfs
var d = float.NaN(); ... var e = (000.0321).IsNaN(); var f = d.IsNaN(); trace e, f;
000.0321).IsNaN()
d.IsNaN()
false, true
Figure 339. The trace message output of the script above
Related links
Search Highlighter (On/Off)