ComfyUI > Nodes > ComfyUI_Mira > 2 Floats

ComfyUI Node: 2 Floats

Class Name

TwoFloats

Category
Mira/Numeral
Author
mirabarukaso (Account age: 1261days)
Extension
ComfyUI_Mira
Latest Updated
2024-07-25
Github Stars
0.03K

How to Install ComfyUI_Mira

Install this extension via the ComfyUI Manager by searching for ComfyUI_Mira
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_Mira 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

2 Floats Description

Handle and process two floating-point numbers simultaneously for streamlined manipulation and retrieval in AI art projects.

2 Floats:

The TwoFloats node is designed to handle and process two floating-point numbers simultaneously. This node is particularly useful when you need to work with pairs of float values, allowing you to input, manipulate, and retrieve two separate float values in a streamlined manner. The primary goal of this node is to facilitate operations that require dual float inputs, making it easier to manage and utilize these values in your AI art projects. By providing a straightforward interface for handling two floats, this node enhances your workflow efficiency and precision.

2 Floats Input Parameters:

float_1

float_1 is the first floating-point number input for the TwoFloats node. This parameter allows you to specify a float value that will be processed by the node. The default value for float_1 is 1.0, and it can be adjusted in increments of 0.0001. This fine level of control ensures that you can set the exact value needed for your specific use case, providing flexibility and precision in your operations.

float_2

float_2 is the second floating-point number input for the TwoFloats node. Similar to float_1, this parameter allows you to specify another float value to be processed. The default value for float_2 is also 1.0, with the same increment step of 0.0001. This parameter works in tandem with float_1, enabling you to handle and manipulate two float values concurrently, which is essential for tasks that require dual float inputs.

2 Floats Output Parameters:

float_1

The float_1 output parameter returns the first floating-point number that was input into the node. This output allows you to retrieve and utilize the processed value of float_1 in subsequent operations or nodes within your workflow. It ensures that the value you input is accurately maintained and available for further use.

float_2

The float_2 output parameter returns the second floating-point number that was input into the node. Similar to float_1, this output provides the processed value of float_2, making it accessible for further operations or nodes. This ensures that both float values you input are preserved and can be effectively used in your AI art projects.

2 Floats Usage Tips:

  • Utilize the TwoFloats node when you need to work with pairs of float values, such as in mathematical operations or parameter adjustments that require dual inputs.
  • Adjust the float_1 and float_2 parameters with the fine increment step of 0.0001 to achieve precise control over the values, which can be crucial for detailed and accurate results in your projects.

2 Floats Common Errors and Solutions:

Invalid float value

  • Explanation: This error occurs when the input value for float_1 or float_2 is not a valid floating-point number.
  • Solution: Ensure that the values you input for float_1 and float_2 are valid floats. Double-check the format and range of the values to avoid this error.

Missing input value

  • Explanation: This error happens when one or both of the required float inputs are not provided.
  • Solution: Make sure to input values for both float_1 and float_2 before executing the node. Both parameters are required for the node to function correctly.

2 Floats Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Mira
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.