Handlebars Math Functions

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

This section contains information about this Handlebars function.

Function NameDescription
AddReturns the sum of two numbers.
DivideReturns the result of dividing the first parameter by the second parameter.
ModuloReturns the remainder after dividing the first parameter by the second parameter.
MultiplyReturns the product of two numbers.
RandomReturns a random number within a specified range.
SubtractReturns the result of subtracting the second parameter from the first parameter.