User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_csunits.asangular_double_wordbool

Table of Contents

ITGIS_CSUnits.AsAngular method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_CSUnits.AsAngular | Methods | Properties

Convert units as annular to string representation with proper units symbol.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public WideString AsAngular(
  double _value,
  WordBool _prec
);
' VisualBasic
Public Function AsAngular(
  ByVal _value As Double,
  ByVal _prec As WordBool
) As WideString
// Oxygene
public
  function AsAngular(
    _value : Double;
    _prec : WordBool
  ) : WideString;

Parameters

Name Type Description
_value double
Double
units in base metric
_prec WordBool if true then fixed decimal digits will be presented; if false then only significant digits (no trailing zeros) will be presented

Result

Type Description
WideString Units converted to string.

Remarks

Value will always be converted to normal numeric form. So if units are degrees then result for '15 degrees and 30 seconds' will always be '15.50 deg'

2020/05/07 01:03

Page Tools