EasyUse/Logicgenerated
String to Float List(stringToFloatList)
The String to Float List node (class stringToFloatList) converts a comma-separated string into a list of FLOAT values.
string To Float List
FLOAT
string
1, 2, 3
Easy Use
Description
The String to Float List node (class stringToFloatList) converts a comma-separated string into a list of FLOAT values. It is part of the EasyUse/Logic category.
Inputs
string(STRING, required): The input text containing numeric values separated by commas. Default:"1, 2, 3". Whitespace around each value is tolerated, so both"1,2,3"and"1, 2, 3"are parsed the same way.
Outputs
FLOAT: The parsed list of floating-point numbers. The output is a list ofFLOATvalues ready to be used by nodes expecting a numeric list.
Usage Notes
- Use this node whenever you need to turn a manually edited or externally supplied string of numbers into a float list for downstream logic.
- Values without a decimal point are still output as floats (e.g.,
"1"becomes1.0). - Make sure each comma-separated segment is a valid number; malformed segments can cause parsing errors.
Comments
Sign in with GitHub to join the discussion.