Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Extend Salesforce with Clicks, Not Code
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