---
schema_version: "1"
id: e523d22350a6ddc1d08c8aac129fbad2e7b8f30e1fc2ff1d70a5a1f3222bc6d0
title: CEILING
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_ceiling.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_ceiling.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7579ddbe2d9487f75c8a1466e8f489f0b272686233ff2c454ff860aad09d0339
description: Rounds a number up to the nearest integer, away from zero if negative.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# CEILING

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

## Use

`CEILING(number)` and replace number with the field or expression you want rounded.

![Formula Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Formula Example

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

`CEILING(-2.5)` returns -3, which is -2.5 rounded away from zero for a negative number.