Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform multiplication between integer and floating-point numbers, providing precise results and various representations.
The IntToFloatMultiplication
node is designed to perform a multiplication operation between an integer and a floating-point number. This node is particularly useful when you need to scale an integer value by a non-integer factor, providing both the precise floating-point result and its integer and string representations. This can be beneficial in various scenarios, such as adjusting parameters dynamically or converting numerical results into different formats for further processing or display.
This parameter represents the integer value that will be multiplied. It serves as the base number (A) in the multiplication operation. The default value is 0, and it has a minimum value of 0. This parameter is displayed as a number input field.
This parameter represents the floating-point value that will be used to multiply the integer value. It serves as the multiplier (B) in the multiplication operation. The default value is 1.5, with a minimum value of 0 and a step increment of 0.0000001. This parameter is also displayed as a number input field.
This output provides the result of the multiplication operation as a floating-point number. It represents the precise product of the integer and the floating-point multiplier.
This output provides the result of the multiplication operation as an integer. It is the truncated integer value of the floating-point result, which can be useful when an integer representation is required.
This output provides the result of the multiplication operation as a string. It converts the floating-point result into a string format, which can be useful for display purposes or further string manipulations.
int_value
parameter to input the base integer you want to scale.multiply_value
parameter to set the scaling factor. This can be a precise floating-point number to achieve the desired multiplication result.FLOAT
, INT
, STRING
) based on your specific needs, whether you require a precise result, an integer, or a string representation.int_value
parameter expects an integer input, but a non-integer value was provided.int_value
parameter is set to an integer.multiply_value
parameter expects a floating-point input, but a non-floating-point value was provided.multiply_value
parameter is set to a floating-point number.© Copyright 2024 RunComfy. All Rights Reserved.