nanzero(
VALUE
)

The nanzero( function converts invalid numeric values into zero.


Parameters

This function has one parameter:

value – floating point value or expression


Description

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

nanzero(5/2) ☞ 2.5
nanzero(5/0) ☞ 0
nanzero(sqr(8)) ☞  2.82842712474619 
nanzero(sqr(-8)) ☞ 0

See Also


History

VersionStatusNotes
10.2NewNew in this version