JCL Help:DmsToDeg

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts an angle given in DMS representation to degrees.


Pascal

 function DmsToDeg(const D: Integer; const M: Integer; const S: Float): Float;


Parameters

Parameters Description
const D: Integer Arc degrees.
const M: Integer Arc minutes.
const S: Float Arc seconds.


Return Value

The angle in degrees.


Description

The DmsToDeg function converts an angle given in DMS (degrees, minutes, seconds) representation to degrees. This is the inverse function to DegToDms.
The M and S arguments are required to be not less than zero and not greater than 60, otherwise the function will yield an domain error exception.


See Also

DegToDms DmsToRad


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