Skip to content

float2str

139

The float2str node is a data conversion utility used to transform floating-point numbers into text strings. This is essential when you need to display precise numerical data—such as sensor readings, coordinates, or specific timers—on a digital display or within a user interface.

When to use this node: * UI Feedback: Displaying a specific measurement (e.g., "Weight: 12.5 kg") on a player's monitor. * Logging and Debugging: Converting calculated float values into strings so they can be sent to a DebugLog or external MQTT writer. * String Concatenation: Preparing precise numerical data to be merged with other text using a Concat node.

Pro Tip: Use this node when decimal precision is required for the narrative, such as a "radiation level" or "frequency tuner" display where an integer alone wouldn't be accurate enough.

Connectors in

  • value [type: float]

Connectors out

  • result [type: string]