floor function

Syntax

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

Parameters

  1. x—(float, float[])

Returns

The downwards rounded integer value of floating point number x or a new array containing downwards rounded integer values of elements of x. Integral values remain unchanged.

Related