integer ratio

Basic data handling: FloatAsIntegerRatio

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
float_valueFLOATrequired

Outputs (2)

NameType
numeratorINT
denominatorINT