Type Casting blocks

These blocks allow to change from one data type to another. There are four different blocks available:

Type Casting blocks
  1. Bool to Real: It transforms a boolean variable to a real variable.
  2. Integer to Real: It converts an integer variable to a real variable.
  3. 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.

  4. Real to Integer: It converts a real variable to an integer variable.


© 2025 Embention. All rights reserved.