Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          MCEILING

          MCEILING

          Rounds a number up to the nearest integer, towards zero if negative.

          Use

          MCEILING(number)

          Rounding Example
          Rounding Example

          MCEILING(2.5) returns 3, which is 2.5 rounded up to the nearest integer.

          MCEILING(-2.5) returns -2, which is -2.5 rounded up towards zero for a negative number.

           
          Loading
          Salesforce Help | Article