Converts Degrees/Minutes/Seconds into Degrees as Decimal.Unit
QESBPCSMath
Declaration
Function DMS2Deg(const Degs, Mins, Secs: Extended): Extended;
| Degs | Degrees Component as Input. |
| Mins | Minutes Component as Input. |
| Secs | Seconds Component as Input. |
Category
Arithmetic Routines for Floats
Routines for converting Positions
Implementation
function DMS2Deg (const Degs, Mins, Secs: Extended): Extended;
begin
Result := Degs + Mins / 60 + Secs / 3600
End; |
Declaration
Function DMS2Deg(const Degs, Mins: Integer; const Secs: Extended): Extended;Implementation
function DMS2Deg (const Degs, Mins: Integer; const Secs: Extended): Extended;
begin
Result := Degs + Mins / 60 + Secs / 3600
End; |
|
HTML generated by Time2HELP
|
http://www.time2help.com