Math Add Float (+)
The Math Add Float node performs addition on two floating-point numbers. It takes two input values, adds them together, and outputs the result.Inputs
a(float, default: 0): The first number to add.b(float, default: 0): The second number to add.
Outputs
result(float): The sum of the two input numbers.
Configuration
This node has no configuration options.Usage
- Connect the first number to the
ainput port. - Connect the second number to the
binput port. - The node will output the sum of the two numbers via the
resultoutput port.
Example
Here’s an example of how to use the Math Add Float node in a spell:Best Practices
- Ensure that the input values are of the correct type (float). Connecting inputs of the wrong type may lead to unexpected behavior.
- Remember that the order of the inputs does not affect the result, as addition is commutative.
Common Issues
- If either of the input values is not a valid floating-point number, the node will output a NaN (Not a Number) value. Ensure that all inputs are properly formatted floating-point numbers.
