> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_stats/configs/config_units.md).

# Units

In the units config, you can configure unit types to display the stats in.

This is the file that also handles conversions between units.

## Unit types

* `speed` - km/h and mph
* `distance` - km and mi
* `finance` - currency

Each unit has metric and imperial type that is automatically switch if you change `Config.UseImperialUnits`

Each type has label, modifier and precision.

* `label` - the unit label that will be displayed
* `modifier` - the value that will be multiplied by the value to get the correct unit
* `precision` - how many decimal places will be displayed
