DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
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. |