nanerror(
VALUE
)

The nanerror( function converts invalid numeric values into an error.


Parameters

This function has one parameter:

value – floating point value or expression


Description

This function converts invalid numeric values into an error. What is an invalid number, you ask? Some examples would include anything divided by zero or the square root of a negative number.

nanerror(5/2) ☞ 2.5
nanerror(5/0) ☞ Invalid floating point number
nanerror(sqr(8)) ☞  2.82842712474619 
nanerror(sqr(-8)) ☞ Invalid floating point number

See Also


History

VersionStatusNotes
10.2NewNew in this version