DK11 for Java | tatukgis.jdk.TGIS_CSUnits.AsLinear | Constructors | Methods | Properties
Convert units as linear to string representation with proper units symbol.
// Java public java.lang.String AsLinear( double _value, bool _prec );
// Oxygene public function AsLinear( _value : Double; _prec : Boolean ) : String;
Name | Type | Description |
---|---|---|
_value | double Double | units in base metric |
_prec | bool Boolean | if true then fixed decimal digits will be presented; if false then only significant digits (no trailing zeros) will be presented |
Type | Description |
---|---|
java.lang.String String | Units converted to string. |
Units of returned string will be autoselected to choose the most adequate is unit is a type of TGIS_CSUnitsType.Auto.