cast to number

This block is part of the type casting group and was last modified in core v10.4.28.

cast to number v10.4.28

Converts the given object to a number.

In pins 1
  • Object required
    object

    The object to be converted into a number.

Out pins 1
  • Number
    number

    The converted output number.

A typical wiring for cast to number: the number out pin feeds cast to value.

Studio canvas example for the cast to number block: typical wiring for cast to number.

Version history

Introduced in v10.4.28.


Back to type casting Return to the main group to view all sub-groups Back to object Return to the group to view all blocks within this group