convertToInteger() Operation for Booleans
Syntax |
| |
---|---|---|
Semantics | Converts boolean values to integers. true is converted to 1, false to 0. | |
Substitutables |
| Can be any variable or object attribute having the type Boolean. |
Examples | Converts the value of the boolean variable to an integer having the value 0 or 1.
NONE
Assigns 0 to integer i2
NONE
|