ComfyUI > Nodes > ComfyUI 1hewNodes > Int Split

ComfyUI Node: Int Split

Class Name

1hew_IntSplit

Category
1hewNodes/int
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

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

Int Split Description

Divides an integer into two parts at a specified split point for proportional allocation.

Int Split:

The 1hew_IntSplit node is designed to facilitate the division of an integer value into two distinct parts based on a specified split point. This node is particularly useful when you need to partition a total integer value into a smaller segment and a remainder, which can be applied in various scenarios such as resource allocation, data distribution, or any situation where proportional division is required. By providing a flexible and intuitive way to define the split point, either as a fraction of the total or as an absolute value, this node offers a versatile solution for managing integer-based operations. Its primary goal is to simplify the process of dividing integers while ensuring that the resulting values are meaningful and applicable to your specific needs.

Int Split Input Parameters:

total

The total parameter represents the integer value that you wish to split. It serves as the base number from which the split will be calculated. The impact of this parameter is significant as it determines the overall size of the values that will be produced by the node. The minimum value for total is 1, the maximum is 10000, and the default is set to 20. This range allows for flexibility in handling both small and large numbers, making it adaptable to various use cases.

split_point

The split_point parameter defines the point at which the total value will be divided. It can be specified as a fractional value between 0.0 and 1.0, indicating the proportion of the total to be allocated to the first part of the split. Alternatively, it can be an absolute value, provided it does not exceed the total. The minimum value for split_point is 0.0, the maximum is 10000.0, and the default is 0.5. This parameter is crucial as it directly influences the distribution of the total into the two resulting parts, allowing for precise control over the division process.

Int Split Output Parameters:

int_total

The int_total output parameter represents the original integer value provided as the total input. It serves as a reference to ensure that the split operation has been performed correctly and that the original value is preserved for verification or further use. This output is important for maintaining the integrity of the data and for any subsequent operations that may require the original total value.

int_split

The int_split output parameter is the result of the split operation, representing the portion of the total that corresponds to the specified split_point. This value is crucial as it reflects the division of the total based on the input parameters, providing a tangible result that can be used in further calculations or processes. The int_split output is essential for understanding how the total has been partitioned and for applying the split values in practical applications.

Int Split Usage Tips:

  • To achieve a proportional split of the total, set the split_point between 0.0 and 1.0. This will divide the total into a fraction and its complement, which is useful for percentage-based allocations.
  • If you need a specific integer value as the split, set the split_point to that value, ensuring it does not exceed the total. This approach is beneficial for fixed allocations where a precise amount is required.

Int Split Common Errors and Solutions:

Invalid split_point value

  • Explanation: The split_point value is outside the acceptable range or exceeds the total.
  • Solution: Ensure that the split_point is within the range of 0.0 to 1.0 for fractional splits or does not exceed the total for absolute splits.

Negative total value

  • Explanation: The total parameter is set to a value less than the minimum allowed, which is 1.
  • Solution: Adjust the total parameter to be at least 1 to ensure a valid operation.

Int Split Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
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.

Int Split