Skip to content

Height value

Henriette Steenhoff edited this page Jun 13, 2018 · 3 revisions
Physical name Logical name Type Comment
Height_value User's height double Referred to simply as height.
Height_index (associated value) Height index position int Containing the the index position of the height value

Description

Setting the user's height in the chosen unit, converting it to SI-unit meter, m, in order to use in other calculations.

The associated height_index is used in order to get the correct height from the list of possible options, as they are part of a custom list of values for the related NumberPicker.

Example

User sets his height to be 1.8 meter. The value of the index position is saved to Height_index while the actual number is saved to height_value which is used when the height is displayed.

Value Set

Floating point values in range 1.20 - 2.40m (4ft- 7ft 7")

Where in the code?

Clone this wiki locally