Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Sage Utils > Percentage To Float

ComfyUI Node: Percentage To Float

Class Name

Sage_PercentageToFloat

Category
Sage Utils/util
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

Install this extension via the ComfyUI Manager by searching for Sage Utils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Sage Utils 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

Percentage To Float Description

Converts percentage values to floats for seamless integration in systems using 0-1 scale.

Percentage To Float:

The Sage_PercentageToFloat node is designed to simplify the conversion of percentage values into a more universally applicable float format. This node is particularly useful when you need to work with percentage data in a context that requires normalized values between 0 and 1, such as in machine learning models or graphical applications. By converting percentages to floats, you can seamlessly integrate percentage-based inputs into systems that operate on a scale of 0 to 1, enhancing compatibility and reducing the need for manual conversions. This node ensures precision and consistency in your data processing workflows, making it an essential tool for tasks that involve percentage calculations.

Percentage To Float Input Parameters:

percentage

The percentage parameter represents the input value that you wish to convert from a percentage format to a float. This parameter accepts a floating-point number ranging from 0.0 to 100.0, where 0.0 corresponds to 0% and 100.0 corresponds to 100%. The default value is set to 0.0, which means if no input is provided, the node will assume a percentage of 0%. The percentage parameter is crucial as it directly influences the output of the node, determining the resulting float value that represents the given percentage on a scale from 0 to 1.

Percentage To Float Output Parameters:

float_value

The float_value output parameter provides the result of the conversion from the input percentage to a float. This output is a floating-point number between 0.0 and 1.0, where 0.0 represents 0% and 1.0 represents 100%. The float_value is essential for applications that require normalized data, allowing you to use percentage inputs in contexts that operate on a 0 to 1 scale. This output ensures that your data is in a format that is compatible with a wide range of computational and graphical processes.

Percentage To Float Usage Tips:

  • Ensure that the percentage input is within the valid range of 0.0 to 100.0 to avoid unexpected results or errors.
  • Use this node when you need to integrate percentage-based data into systems that require normalized values, such as machine learning models or graphical applications.

Percentage To Float Common Errors and Solutions:

Invalid percentage value

  • Explanation: If the percentage input is outside the range of 0.0 to 100.0, the node may not function as expected.
  • Solution: Verify that the percentage input is within the valid range and adjust it if necessary.

Missing percentage input

  • Explanation: If no percentage input is provided, the node defaults to 0.0, which may not be the intended value.
  • Solution: Ensure that you provide a valid percentage input to achieve the desired conversion result.

Percentage To Float Related Nodes

Go back to the extension to check out more related nodes.
Sage Utils
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.

Percentage To Float