ComfyUI > Nodes > ComfyUI-WanVaceAdvanced > StringToFloatListRanged

ComfyUI Node: StringToFloatListRanged

Class Name

StringToFloatListRanged

Category
drozpack
Author
drozbay (Account age: 3591days)
Extension
ComfyUI-WanVaceAdvanced
Latest Updated
2025-12-12
Github Stars
0.06K

How to Install ComfyUI-WanVaceAdvanced

Install this extension via the ComfyUI Manager by searching for ComfyUI-WanVaceAdvanced
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-WanVaceAdvanced in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

StringToFloatListRanged Description

Transforms comma-separated string into list of floating-point numbers with repeat notation support for AI artists.

StringToFloatListRanged:

The StringToFloatListRanged node is designed to transform a comma-separated string into a list of floating-point numbers, offering a unique feature that supports repeat notation. This node is particularly useful for AI artists who need to convert textual numerical data into a format that can be easily processed in computational tasks. By allowing repeat notation using the # symbol, such as 3#5, the node can efficiently generate repeated sequences of numbers, which can be mixed with regular numbers in the input string. For example, the input string 1, 2.5#3, 7 would be converted into the list [1.0, 2.5, 2.5, 2.5, 7.0]. This functionality is beneficial for creating patterns or sequences in data processing tasks, making it a versatile tool for artists working with numerical data in creative projects.

StringToFloatListRanged Input Parameters:

string

The string parameter is a required input that accepts a comma-separated string of numbers, which can include both regular numbers and repeat notations. The repeat notation is specified using the # symbol, where a number followed by # and another number indicates how many times the first number should be repeated. For instance, 2.5#3 means the number 2.5 should be repeated three times. This parameter allows for multiline input, making it easier to handle longer sequences. The default value is "1, 2, 3#2, 5.5", which demonstrates both regular numbers and repeat notation. This parameter is crucial as it defines the sequence of numbers that will be converted into a list of floats.

StringToFloatListRanged Output Parameters:

FLOAT

The FLOAT output parameter provides the resulting list of floating-point numbers derived from the input string. This list is the main output of the node and represents the converted numerical data that can be used in further processing or analysis. The output is essential for tasks that require numerical input, as it transforms a textual representation into a format that can be easily manipulated and utilized in various computational contexts.

StringToFloatListRanged Usage Tips:

  • Use the repeat notation # to efficiently create sequences of repeated numbers, which can simplify the input string and reduce manual entry.
  • Ensure that the input string is correctly formatted with commas separating each number or repeat notation to avoid errors in conversion.

StringToFloatListRanged Common Errors and Solutions:

ValueError: could not convert string to float

  • Explanation: This error occurs when the input string contains characters or formats that cannot be converted into a float, such as letters or improperly formatted numbers.
  • Solution: Check the input string for any non-numeric characters or incorrect formats and ensure that all numbers are properly separated by commas.

Invalid repeat notation

  • Explanation: This error arises when the repeat notation is incorrectly formatted, such as missing a number before or after the # symbol.
  • Solution: Verify that the repeat notation follows the correct format, with a number before and after the # symbol, like 3#5.

StringToFloatListRanged Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-WanVaceAdvanced
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.