Skip to main content
The Number Convert node transforms various input data types into numeric values. It accepts a single input of type integer, float, string, or boolean and produces two outputs: a floating-point number and an integer. This is useful for converting text or logical values into a format that can be used by other mathematical or processing nodes in your workflow.

Inputs

ParameterDescriptionData TypeRequiredRange
valueThe value to be converted into numeric outputs. Accepts an integer, a floating-point number, a text string, or a true/false boolean.INT, FLOAT, STRING, BOOLEANYesN/A
Note: When the input is a string, it must not be empty and must contain a valid representation of a number (e.g., "123", "3.14"). The node will raise an error for empty strings, text that cannot be parsed as a number, or values that are not finite (like "inf" or "nan"). For boolean inputs, true converts to 1.0 (FLOAT) and 1 (INT), while false converts to 0.0 (FLOAT) and 0 (INT). For float inputs, the integer output is obtained by truncating the decimal portion.

Outputs

Output NameDescriptionData Type
FLOATThe input value converted to a floating-point number.FLOAT
INTThe input value converted to an integer. For float inputs, this performs a truncation.INT
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 3a5501a3916df827b0376e4ba9c8b9972a91485cca38e067b683bb5f96c1d53c