User Tools

Site Tools


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

Table of Contents

TGIS_CSUnits.ToUnits method

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

Convert a value from the current unit to the specified target unit.

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

Syntax

// Java
public double ToUnits(
  TGIS_CSUnits _units,
  double _value
);
// Oxygene
public
  function ToUnits(
    _units : TGIS_CSUnits;
    _value : Double
  ) : Double;

Parameters

Name Type Description
_units TGIS_CSUnits Target unit definition.
_value double
Double
Value to be converted.

Result

Type Description
double
Double
Value converted to the specified units.
2026/07/11 01:24

Page Tools