ComfyUI Node
integer ratio
Returns the integer ratio of a floating-point number. This node takes a floating-point number and returns two integers, which represent the ratio as numerator and denominator.
integer ratio
- numerator
- denominator
◄float_value0.00►
CategoryBasic/FLOAT
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| float_value | FLOAT | 0.00 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| numerator | INT | — |
| denominator | INT | — |