Skip to content

str2int

68

The str2int node converts text-based numbers into actual integers. This is a critical step when taking input from a terminal or keypad and using it for arithmetic or index-based logic.

When to use this node: * Keypad Inputs: Converting a string of digits entered by a player into a whole number to check against a solution. * Count Conversion: Transforming a "count" string received from an external system into a value that can be added or subtracted.

Connectors in

  • str [type: string]

Connectors out

  • int [type: integer]