floor function

float floor(x)
float[] floor(x)

x floatfloat[]

Returns the downward-rounded integer value for x. Integral values remain unchanged. For arrays, the function is applied element-wise and returns a new array with the rounded values.

Related