Multiply
Multiplies two numbers.
Node id math/multiply
The Multiply node outputs a × b.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| a | number | 0 | |
| b | number | 1 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | number |
Behaviour
- Defaults.
adefaults to 0 andbto 1, so with onlyaset the result isa. - Invalid math.
0 × Infinitygives NaN, with no error.
Related nodes
- Divide: the opposite operation.
- Power: repeated multiplication.
- Multiply Vector: scales a vector by a number.