AMPscript Math Functions

Use the math AMPscript functions to perform mathematical operations on numeric values.

This section contains information about these AMPscript functions.

Function NameDescription
Add()Returns the sum of two numbers.
Divide()Returns the result of dividing the first parameter by the second parameter.
Mod()Returns the remainder after dividing the first parameter by the second parameter.
Multiply()Returns the product of two numbers.
Subtract()Returns the result of subtracting the second parameter from the first parameter.