JCL Help:DegToDms@Float@Integer@Integer@Float

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts an angle given in degrees to DMS representation.


Pascal

 procedure DegToDms(const Degrees: Float; out D: Integer; out M: Integer; out S: Float);


Parameters

Parameters Description
const Degrees: Float The angle (in degrees) to split into integral degrees, minutes and seconds.
out D: Integer Receives the degrees.
out M: Integer Receives the minutes.
out S: Float Receives the seconds.


Description

The DegToDms routine converts an angle given in arc degrees to DMS (degrees, minutes, seconds) representation. Note that the output of this routine is not intended to be fed to calculations (since the sign of the minute and second fractions is not preserved), but for display only.


See Also

DmsToDeg DegToDmsStr


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