Numerical functions
Functions for working with numbers
These functions perform mathematical operations on data and help to realize common mathematical functions.
Function | Description |
---|---|
abs | Returns the absolute value of the argument. |
add | Mathematical addition of two arguments. |
avg | Returns the average of an array of numbers. |
calculate | Computes a given mathematical formula. |
ceil | Mathematical ceiling function; rounds up. |
divide | Mathematical division. |
floor | Mathematical floor function; rounds down. |
max | Find the maximum number or alphabetically the last string in an array. |
max_by | Get element from array with a maximum value of a specified comparison function. |
min | Find the minimum number or alphabetically the first string in an array. |
min_by | Get element from array with a minimum value of a specified comparison function. |
multiply | Multiply two numbers. |
subtract | Mathematical subtraction of two arguments. |
sum | Sum the numbers in an array. |
Updated 11 months ago