new $k.Measurement(unit, vString, lang)
Name | Type | Description |
---|---|---|
unit |
nil |
The unit/quantity kind defining element |
vString |
string |
The string representation of the measurement |
lang |
language |
optional
the (optional) languge of vString |
Methods
value() : number
Returns the value of the element
- Since:
- 5.4.0
Returns:
Type | Description |
---|---|
number |
valueString(baseUnit, language) : string
Returns the valueString) of the element
Name | Type | Description |
---|---|---|
baseUnit |
string |
optional
the baseUnit to use |
language |
string |
optional
the language to use |
- Since:
- 5.4.0
Returns:
Type | Description |
---|---|
string |