$NONAN
Action
Compiler directive for changing nan (not a number) into 0.0


Syntax
$NONAN

Remarks

TIMERx TI

A single can return a NAN when it is not considered to be a number.
With the $NONAN directive 0.0 will be returned.
See also

Example