> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.pdfgeneratorapi.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Number Functions


##### Format number
Format a number with grouped thousands and optionally decimal digits. 
```
{% number_format([float number], [decimal_places], [decimal_separator], [thousands_separator]) %}
```

##### Round
Round the float number based on the precision from the second parameter. 
```
{% round([float number], [integer precision]) %}
```

##### Ceil
Rounds to the nearest integer up. E.g. 2.1 => 3. 
```
{% ceil ([float number]) %}
```

##### Floor
Rounds to the nearest integer down. E.g. 2.8 => 2. 
```
{% floor ([float number]) %}
```

##### Pow
Number in power of. 
```
{% pow([float base value], [integer|float power of]) %}
```

##### Sqrt
Square root of a number. 
```
{% sqrt ([float base value])%}
```
---
### Related articles you may find helpful

* [How to share templates with other workspaces?](https://support.pdfgeneratorapi.com/en/article/how-to-share-templates-with-other-workspaces-1hq1m2f/)
* [How to use the "Group by" option with the Table or Container component?](https://support.pdfgeneratorapi.com/en/article/how-to-use-the-group-by-option-with-the-table-or-container-component-156ec5a/)
* [Number component](https://support.pdfgeneratorapi.com/en/article/number-component-b2v7hp/)
