DK11 for .NET | TatukGIS.NDK.TGIS_CSUnits.AsAreal | Constructors | Methods | Properties
Convert units as areal to string representation with proper units symbol.
// C# public string AsAreal( double _value, bool _prec, string _format );
' VisualBasic Public Function AsAreal( ByVal _value As Double, ByVal _prec As Boolean, ByVal _format As String ) As String
// Oxygene public function AsAreal( _value : Double; _prec : Boolean; _format : String ) : 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 |
_format | string String | hint of how to present linear symbols: for example by providing 'sq. %s' linear symbols will be presented as '1 sq. km' |
Type | Description |
---|---|
string String | Units converted to string. |