floor x gives the nearest integer smaller than or equal to x.
floor x
x
write floor 3.14
To round to nearest or round up, see round and ceil.
round
ceil