floor [function]

floor( x )

returns the largest integer that is not bigger than x, as real

floor( 3.4 ); // real (3)
floor( 3.8 ); // real (3)
floor( 4.2 ); // real (4)
floor( -3.1 ); // real (-4)