HUGO
News Docs Themes Community GitHub

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

Last updated: January 1, 0001
Improve this page