> For the complete documentation index, see [llms.txt](https://v5docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v5docs.keyfax.biz/reference/expression-reference/numeric-expressions/int.md).

# Int

Rounds the databox value to the nearest whole number.

| Expression | Databox value | Result |
| ---------- | ------------- | ------ |
| `Int`      | `12.59`       | `13`   |
| `Int`      | `12.4`        | `12`   |

A value ending in `.5` goes to the nearest **even** whole number, so `2.5` gives `2` and `3.5` gives `4`. That is deliberate — it stops a long column of halves from drifting upwards — but it will surprise anyone expecting `.5` always to round up.

To cut the decimals off rather than round them, use [Trunc](/reference/expression-reference/numeric-expressions/trunc.md). See also [Round](/reference/expression-reference/numeric-expressions/round.md).
