Handlebars Math Functions

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

This section contains information about this Handlebars function.

Function Name Description
add Returns the sum of two numbers.
divide Returns the result of dividing the first parameter by the second parameter.
modulo Returns the remainder after dividing the first parameter by the second parameter.
multiply Returns the product of two numbers.
random Returns a random number within a specified range.
subtract Returns the result of subtracting the second parameter from the first parameter.