Visit ComfyUI Online for ready-to-use ComfyUI environment
Perform multiplication on float numbers, output as float, integer, and string for versatile arithmetic tasks.
The FloatMultiplication
node is designed to perform multiplication operations on floating-point numbers, providing a versatile tool for various arithmetic tasks. This node takes two float inputs and multiplies them, offering the result in three different formats: as a float, an integer, and a string. This flexibility allows you to use the output in different contexts, whether you need precise decimal values, whole numbers, or textual representations. The primary goal of this node is to simplify arithmetic operations and provide multiple output formats to suit your specific needs.
This parameter represents the first floating-point number (A) to be multiplied. It is a required input and has a default value of 0.0. The minimum value is 0.0, and it can be adjusted in very fine increments of 0.0000001. This parameter allows you to specify the base number for the multiplication operation.
This parameter represents the second floating-point number (B) to be multiplied with the first number. It is also a required input and has a default value of 1.5. The minimum value is 0.0, and it can be adjusted in increments of 0.0000001. This parameter allows you to specify the multiplier for the operation.
This output provides the result of the multiplication operation as a floating-point number. It retains the precision of the calculation, making it suitable for tasks that require exact decimal values.
This output provides the result of the multiplication operation as an integer. The floating-point result is trimmed to its integer value, which can be useful for tasks that require whole numbers.
This output provides the result of the multiplication operation as a string. The floating-point result is converted to a textual representation, which can be useful for display purposes or further text-based processing.
float_value
and multiply_value
parameters to input the numbers you want to multiply. Adjust the values according to the precision required for your task.Result (FLOAT)
for precise calculations, Result (INT)
for whole number requirements, and Result (STRING)
for displaying the result as text.float_value
parameter is not provided as a floating-point number.float_value
parameter is set to a valid float. For example, use 0.0 or 1.5.multiply_value
parameter is not provided as a floating-point number.multiply_value
parameter is set to a valid float. For example, use 1.5 or 2.0.© Copyright 2024 RunComfy. All Rights Reserved.