lang • isnan


Since 3.1

Boolean = IsNaN ( Number )

Return if a floating pointer is not a real number.

"Not a Number" are special floating-point values used for representing invalid results.

Gambas usually intercept them and raise an error instead. But some functions implemented in components may return such values, and so you can use this function to test that.