Skip to content

Converters

💡 Simple Explanation: Changes data from one type to another. Like converting the number 5 to the text “5”, or a true/false to a 1/0.

⚙️ Technical Description: Converts values between different data types (Int, Float, String, Bool, Vector). Output type is determined by which output port is connected.

TypeConverter

🔍 Full Details & Examples

🔧 How It Works: Takes any input value and converts it to the type needed by whatever it’s connected to. Handles conversion logic automatically based on the types involved.

Perfect For:

  • Converting numbers to text for display
  • Changing strings to numbers for calculations
  • Type compatibility in data pipelines
  • Adapting data between different node requirements

👉 Inputs:

  • value (varies) - Value to convert

👈 Outputs:

  • Output type determined by connection (Int, Float, String, Bool, Vector)

🎬 Streaming Example: “Convert a donation amount (float 25.50) to a string for display in a text formatter: ‘$25.50’.”

🎯 Tips: Not all conversions make sense (e.g., text “hello” to a number). Connection type determines output type automatically. Useful for bridging incompatible node types.