Numeric Functions
Functions for performing mathematical operations on numbers.
ABS
Computes the absolute value of a numeric argument.
ROUND
Rounds the first numeric argument to the number of decimal places specified by the second integer argument. If the second argument is omitted or zero, rounds to the nearest integer.
SQRT
Calculates the square root of a non-negative numeric argument. The result is typically a FLOAT or NUMBER.
RANDOM
Returns a random floating-point value between 0.0 (inclusive) and 1.0 (exclusive) at the grain of the provided concept. If no concept is provided, all rows have the same value.
ADD
Performs arithmetic addition on two or more numeric arguments.
SUBTRACT
Performs arithmetic subtraction. If two arguments, subtracts the second from the first. If more, behavior might vary (e.g., subtract all subsequent from first).
MULTIPLY
Performs arithmetic multiplication on two or more numeric arguments.
DIVIDE
Performs arithmetic division. If two arguments, divides the first by the second. Division by zero typically results in an error or NULL/Infinity. Result type is often FLOAT or NUMBER.
MOD
Computes the modulo (remainder) of the first numeric argument divided by the second integer argument.
POWER
Raises a number to the power of another number.
LOG
Calculates the logarithm of a number with a given base.
FLOOR
Rounds a number down to the nearest integer.
CEIL
Rounds a number up to the nearest integer.
