# floor proc

Source: https://ref.dm-lang.org/proc/floor
Added in BYOND 515.

### Format
> `floor(A)`

### Returns
> the floor of A

### Args
> A: A number, pixloc, or vector.

Returns the floor of A (the largest integer less than or equal to A).

```dm /floor/
usr << floor(1.45) // outputs 1

usr << floor(-1.45) // outputs -2
```

### See also
- [ceil proc](https://ref.dm-lang.org/proc/ceil.md)
- [round proc](https://ref.dm-lang.org/proc/round.md)
- [trunc proc](https://ref.dm-lang.org/proc/trunc.md)
- [fract proc](https://ref.dm-lang.org/proc/fract.md)
- [sign proc](https://ref.dm-lang.org/proc/sign.md)
