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

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

## Use

`MFLOOR(number)`

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

Rounding Example

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

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