HUGO
Menu
GitHub 90221 stars Mastodon

math.Mul

Returns the result of multiplying the first number by one or more numbers.
Syntax
math.Mul VALUE VALUE...
Returns
any
Alias
mul

Usage

The math.Mul function returns the result of multiplying the first number by one or more numbers. If one of the numbers is a float, the result is a float.

Examples

{{ math.Mul 12 3 2 }} → 72
{{ math.Mul 1.5 2 }} → 3