Main Content

Rounding Mode: Ceiling

When you round toward ceiling, both positive and negative numbers are rounded toward positive infinity. As a result, a positive cumulative bias is introduced in the number.

In the MATLAB® software, you can round to ceiling using the ceil function. Rounding toward ceiling is shown in the following figure.