# Floor (Decimal)

| **Name**    | ***Floor (Decimal)***                                                        |
| ----------- | ---------------------------------------------------------------------------- |
| Syntax      | Floor (Decimal number)                                                       |
| Purpose     | To return the largest integer equal to or less than the number specified.    |
| Description | Rounds to the largest integer equal to or less than the number specified     |
| Return Type | Integer                                                                      |
| Parameters  | number \[System.Decimal] – Number for which the floor value will be returned |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FDNgFsDhgnrjYQLvZXC4E%2F0.png?alt=media)

**Example**

In this example, we are passing a decimal value to the function transformation object using a *Variables* object.

Where,

*number* = 12.34

<figure><img src="https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FmEJPO5IUsDIkTR6qpcB6%2F1.png?alt=media" alt=""><figcaption></figcaption></figure>

In the output window, you can see that the floor value, 12, has been returned for the provided *number* value.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FVigJ5BPE8VVFtB3yijd2%2F2.png?alt=media)
