Type Casting blocks¶
These blocks allow to change from one data type to another. There are four different blocks available:
Bool to Real: It transforms a boolean variable to a real variable.
Integer to Real: It converts an integer variable to a real variable.
Real to Bool: It transforms a real variable to a boolean variable.
Any number (negative numbers included), except 0, will be transformed to TRUE; 0 will be FALSE.
Real to Integer: It converts a real variable to an integer variable.