Docs Functions math math.Floormath.FloorReturns the greatest integer value less than or equal to the given number.Syntaxmath.Floor VALUEReturnsfloat64{{ math.Floor 1.9 }} → 1Last updated: January 1, 0001Improve this page