# Format Number

Format a number with grouped thousands and decimal points. In other words, make it look nice.

- Parameter 1: precision (number of decimal places before rounding)
- Parameter 2: Decimal point (default `.`)
- Parameter 3: Thousands separator (default: `,`)

```yaml
lucky_number: 130134.109
```

::tabs

::tab antlers
```antlers
{{ lucky_number | format_number(1, ',', ',') }}
```
::tab blade
```blade
{{ Statamic::modify($lucky_number)->formatNumber(1, ',', ',') }}
```
::

```html
130,134,1
```
