Notes
Returns the largest (closest to positive infinity) Decimal that is not greater than the argument and is equal to a mathematical integer.
Here are some examples:
Decimal x = 4.75;
System.debug(Math.floor(x));
Output: 4
Video
Video does not exists.