math.Floor
Returns the greatest integer value less than or equal to the given number.
Syntax
math.Floor VALUE
Returns
float64
{{ math.Floor 1.9 }} → 1
Hugo Documentation
Syntax
Returns
{{ math.Floor 1.9 }} → 1