---
schema_version: "1"
id: 15547c9bc111ce4b7e5de42689e77083d0ffd1f1520cd7ff4b115ad43a4c70b3
title: FLOOR
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_floor.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_floor.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4ba9bfd01aaab2f767579222d3b45ab754e1afb6490287fa7aad29375147a938
description: Returns a number rounded down to the nearest integer, towards zero if negative.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# FLOOR

Returns a number rounded down to the nearest integer, towards zero if negative.

## Use

`FLOOR(number)` and replace number with a number field or value such as 5.245.

![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)

Example

`FLOOR(2.5)` returns 2, which is 2.5 rounded down to the nearest integer.

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