Multiply method (number)

Multiplies this number with a specified number value.

Syntax

number1.Multiply(number2)

Returns the result of multiplying number1 with number2 as a number value.

Example

{% Var daysInWeek = 9 %}
{% Var numberOfWeeks = 7 %}

The total number of days is: {{ daysInWeek.Multiply(numberOfWeeks) }}
The number of days in two weeks is: {{ daysInWeek.Multiply(2) }}

Remarks

If the result of multiplying of number1 with number2 falls outside the range of permitted values for a number it will cause a template error.