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

Last updated