Activity › Forums › Salesforce® Discussions › What does the math.ceil do in Salesforce? Salesforce® Discussions What does the math.ceil do in Salesforce? Posted by Deepak on March 24, 2020 at 3:38 PM What does the math.ceil do in Salesforce? Ratnesh replied 6 years, 2 months ago 3 Members · 2 Replies 2 Replies Anjali Member March 25, 2020 at 2:56 PM ceil(doubleValue) Returns the smallest (closest to negative infinity) Double that is not less than the argument and is equal to a mathematical integer. [adinserter block='9'] Ratnesh Member March 26, 2020 at 1:28 PM The Math.ceil() function always rounds a number up to the next largest. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me