HUGO
News Docs Themes Community GitHub

math.Div

Divides the first number by one or more numbers.

Syntax

math.Div VALUE VALUE...

Returns

any

Alias

div

If one of the numbers is a float, the result is a float.

{{ div 12 3 2 }} → 2

Last updated: January 1, 0001
Improve this page