# FLOOR

Avrundar den angivna inmatningen nedåt till närmaste heltal.

## Syntax

```
FLOOR(X)
```

## Argument

#### X

Typ: `numeric`

Ett numeriskt värde.

## Returnerar

Typ: samma som indata

`X` avrundat nedåt till närmaste heltal.

***

## Exempel

| X | Utdata |
| --- | --- |
| 0.13523523 | 0.0 |
| -0.1 | -1 |
| -1.1 | -2 |
| 1 | 1 |
| 1 + 1 | 2 |
| 0 | 0 |
| -1 | -1 |
| -1 - 5 | -6 |