JCL Help:DmsToRad

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts an angle given in DMS representation to radians.


Pascal

 function DmsToRad(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

Returns the angle in radians.


Description

The DmsToRad function converts an angle given in DMS (degrees, minutes, seconds) representation to radians. 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.


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