Handlebars multiply
Handlebars multiply: returns the product of two numbers, rounded to 2 decimal places.
Next
Runtime verified
Test scripts included
Returns the product of two numbers, rounded to 2 decimal places.
Syntax
{{multiply value1 value2}}
Returns number.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value1 |
number | Yes | First value to multiply. |
value2 |
number | Yes | Second value to multiply. |
Example
Tested in a Marketing Cloud Next email on 2026-11-22:
{{multiply 2 3}}renders6, as documented.{{multiply 1.25 3}}renders3.75, as documented.
Show Next test script
Marketing Cloud Next
Works as documented
Every tested call rendered the documented result. Tested 2026-11-22 by rendering in a Marketing Cloud Next email.
See also
- AMPscript
Multiply— the AMPscript equivalent - Official reference