User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_csunits.asangular_double_boolean

Table of Contents

TGIS_CSUnits.AsAngular method

DK for Java | tatukgis.jdk.TGIS_CSUnits.AsAngular | Constructors | Methods | Properties

Convert an angular value to a string representation with the unit symbol.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public java.lang.String AsAngular(
  double _value,
  bool _prec
);
// Oxygene
public
  function AsAngular(
    _value : Double;
    _prec : Boolean
  ) : String;

Parameters

Name Type Description
_value double
Double
Angular value to format.
_prec bool
Boolean
If True, formats the value using eight decimal places; if False, uses general numeric formatting.

Result

Type Description
java.lang.String
String
Formatted angular value followed by the unit symbol.

Remarks

BEHAVIOR: Returns the supplied value unchanged except for numeric formatting and appendingSymbol. The method does not convert between angular units and does not format values as degrees-minutes-seconds.

2026/09/20 23:57

Page Tools