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.
- Real to Real 64: It transforms a standard Real variable (32-bit) into a Real64 variable (64-bit).
- Real64 to Real: It converts a Real64 variable (64-bit) back to a standard Real variable (32-bit).
© 2026 Embention. All rights reserved.