JCL Help:DegToDmsStr

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns a string representation of a given angle in degrees.


Pascal

 function DegToDmsStr(const Degrees: Float; const SecondPrecision: Cardinal = 3): string;


Parameters

Parameters Description
const Degrees: Float The angle in degrees.
const SecondPrecision: Cardinal = 3 Specifies the number of digits after the decimal point for the arc seconds component; default is 3 decimal digits.


Return Value

A string representation composed as follows: ° ' "


Description

The DegToDmsStr routine returns a string representation of the input angle as used e.g. in cartography.


About

Unit

JclUnitConv


Donator

Robert Rossmair


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page