Notes
Returns the smallest (closest to negative infinity) Decimal that is not less than the argument and is equal to a mathematical integer.
Here are some examples:
Decimal x = 4.75;
System.debug(Math.ceil(x));
Output: 5
Decimal x = -4.75;
System.debug(Math.ceil(x));
Output: -4
Video
Video does not exists.