CALC.iif(logical_test, value_if_true, value_if_false)

Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE.

Example

CALC.iif(-36 < 0, 'n should be positive', Math.sqrt(-36));

// returns 'n should be positive'

<< CALC.and(boolean1, boolean2, …) © 1996-2013 InetSoft Technology Corporation (v11.5) CALC.not(boolean) >>