Standard.BaseDataDecimalceilOn this pageDecimal.ceil ceil Group: Rounding Documentation Computes the nearest Integer equal to or above this number. Examples Compute the ceiling of 12.34. Decimal.new "12.34" . ceiling # => Decimal.new "13" Compute the ceiling of -12.34. Decimal.new "-12.34" . ceiling # => Decimal.new "-12"