Skip to content
Henriette Steenhoff edited this page May 14, 2018 · 2 revisions
Physical name Logical name Format Comment
Unit Measuring unit int

Description

This preferences holds the integer value corresponding to the measuring unit chosen by the user. The user can choose between the following:

  • Imperial Measurement System (British) - stone/inches
  • United States Customary System (American) - pounds/inches
  • Systèm Intérnationale d'Unités (SI-units, standard European) - kg/m

When changing between these units, the given value will be converted to SI-units in order to be used correctly in the app. When it is shown to the user the value is converted from SI-units to the preferred unit.

Example

US pounds to KG

If the user inputs 120 pounds to convert this to kg the following equation is used:

weightInKg = weightInPounds/0.45359237

UK stones to KG

If the user inputs 120 pounds to convert this to kg the following equation is used:

weightInKg = weightInPounds * 6.35029318

Value Set

Value Description Comment
0 SI-units default
1 American
2 British

Clone this wiki locally