Skip to content

str2float

90

The str2float node is a bridge between text and math. It takes numerical characters from a string and converts them into a floating-point number, enabling technical calculations within your game logic.

When to use this node: * Sensor Integration: Converting text-based data from an external API or MQTT sensor into a decimal number for a Compare or Math node. * Parsing Settings: Reading decimal configuration values stored in a text file or JSON object.

Connectors in

  • str [type: string]

Connectors out

  • float [type: integer]