Properties
Optional symbol
symbol: string
Optional value
value: number
Static DECAGRAM
DECAGRAM
: WeightUnit = new WeightUnit('dag', 10000)
Static HECTOGRAM
HECTOGRAM
: WeightUnit = new WeightUnit('hg', 100000)
Static KILOGRAM
KILOGRAM
: WeightUnit = new WeightUnit('kg', 1000000)
Methods
Static value
-
Parameters
The WeightUnit expected.
WeightUnit is an "enum" like which represent all weights unit available in the unit converter.
Nicolas GILLE nic.gille@gmail.com
0.2.0
1.0
MIT
EnumUnit