Skip to main content



Math Functions

Perform arithmetic operations.

Math FunctionDescription
AbsReturns the absolute value of a numeric expression.
AverageReturns the average of a specified field or expression across a collection.
AvgReturns the average of a specified field or expression across a collection.
BankRoundReturns the number rounded to the number of decimal places using the rules of bankers rounding.
DivideDivides the value of one numeric expression by another.
ExpThe Exp function returns e raised to a given power.
ExpReturns the end-of-period future value for a series of payments given the interest rate, number of periods, payment amount, and initial principal
IPMTReturns the end-of-period interest payment for given present value at specified rate for specified period.
LargestReturns the largest value in a list of values.
LogReturns the natural (base e) logarithm of a specified number.
MinusSubtracts the value of one numeric expression from another.
ModDivides two numbers and returns only the remainder.
MultiplyMultiplies the value of one numeric expression by another.
NumDigitsReturns the number of digits in a given number, not counting trailing zeros to the right of the decimal point nor any leading zeros.
PercentThe Percent function returns (value * percent) / 100.0.
PlusAdds the value of one numeric expression to another.
PMTReturns the end-of-period payment for given present value at specified rate for specified period. Note: The result is not negated as a debt. (e.g. PMT(0, 10, 10000) = 1000.00 not -1000.00)
PowerTakes the value of one numeric expression to the power of the exponent value.
PPMTReturns the end-of-period principal payment for given present value at specified rate for specified period.
PVReturns the end-of-period present value for a series of future payments given, the interest rate, the number of periods, the payment amount, and the future value remaining after all payments are made
RandomReturns a random integer between the specified minimum and maximum values.
RateReturns the end-of-period interest rate which must be applied to the present value in order to arrive at the future value when compounded over the given number of periods
RoundThe Round function rounds a number to a specified number of decimal places.
RoundDownThe RoundDown function rounds a number down to a specified number of decimal places.
RoundUpThe RoundUp function rounds a number up to a specified number of decimal places.
SmallestReturns the smallest value from a list of values.
SqrtThe Sqrt function returns the square root of a number.
SumReturns the sum of a specified member or expression across a collection.