IF
IF returns one value if a logical expression you specify is TRUE and another value if it is FALSE.
This function is valid in rules only.
TurboIntegrator uses its own IF function that is capable of evaluating multiple logical expressions.
Syntax
IF(expression, true_value, false_value)
Argument |
Description |
---|---|
expression |
Any value or expression that can be evaluated to TRUE or FALSE. |
true_value |
The value that is returned if expression is TRUE. |
false_value |
The value that is returned if expression is FALSE. |
Example
IF(1<2, 4, 5) returns 4.
IF(1>2, 'ABC', 'DEF') returns 'DEF'.