DK for .NET | TatukGIS.NDK.TGIS_CSUnits.AsLinear | Constructors | Methods | Properties
Convert a linear value to a string representation with the appropriate unit symbol.
// C# public string AsLinear( double _value, bool _prec );
' VisualBasic Public Function AsLinear( ByVal _value As Double, ByVal _prec As Boolean ) As String
// Oxygene public function AsLinear( _value : Double; _prec : Boolean ) : String;
| Name | Type | Description |
|---|---|---|
| _value | double Double | Value in base linear units. |
| _prec | bool Boolean | If True, fixed decimal digits are used; if False, only significant digits are shown without trailing zeros. |
| Type | Description |
|---|---|
| string String | Formatted value with unit symbol. |
If the unit type is TGIS_CSUnitsType.Auto, the returned string uses an automatically selected linear subunit.