Math Operations
Math Operations blocks perform arithmetical operations on numbers.
Error values, and text that cannot be resolved to numbers, cause a NaN error result to be returned. The following are accepted and excluded arguments for Math Operations blocks:
- Numbers, logical values, and numbers represented as strings are accepted.
- Error values, and text that cannot be resolved to numbers, are ignored in the calculation.
Block | Icon | Description |
---|---|---|
Add | Adds its arguments | |
Divide | Divides its arguments | |
Factorial | Returns the single factorial of a number | |
Logarithm | Calculates the logarithm of a number using a specified base | |
Modulo | Returns the quotient and remainder from division | |
Multiply | Multiplies its arguments | |
Power | Returns the result of raising a number to an exponent | |
Root | Returns the nth root of a number | |
Scale | Returns the result of re-scaling a number from one defined set of lower and upper limits to another. | |
Subtract | Subtracts its arguments |