DK11 for Delphi | GisCsBase.TGIS_CSUnits.AsAreal | Constructors | Methods | Properties
Convert units as areal to string representation with proper units symbol.
// Delphi public function AsAreal( const _value : Double; const _prec : Boolean; const _format : String ) : String;
// C++ Builder public: UnicodeString AsAreal( const double _value, const bool _prec, const UnicodeString _format );
Name | Type | Description |
---|---|---|
_value | Double | units in base metric |
_prec | Boolean | if true then fixed decimal digits will be presented; if false then only significant digits (no trailing zeros) will be presented |
_format | 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 | Units converted to string. |