public constructor UnitAttribute.UnitAttribute
Constructor for the unit that has more than one names
Declaration | ||||
|
Parameters | |
name |
The name of the unit |
alternativeName |
The alternative name (e.g. 5in and 5" are two options to specify inches) |
defaultAccuracy |
The default accuracy (number of digits after decimal point) |
Declared in UnitAttribute