[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


hms2deg Source code in hms2deg.pro

hms2deg

Name
          hms2deg
Purpose
          Convert coordinates in hms-Format to degrees
Category
          General Utility
Calling Sequence
          hms2deg,h,[m,[s]]
Input Parameters
          h: hour
          m: minute
          s: second
Optional Input Parameters
          m and s are optional
Keyword Parameters
          none
Output Parameters
          The function returns (h+m/60+s/3600)*15
Optional Output
          none
Common Blocks
          none
Side Effects
          none
Restrictions
          hms are assumed to be positive
Procedure
          trivial
Example
          print,hms(19,58,21.72)
Revision History
          Version 1.0: 1997/06/24, Joern Wilms (wilms@astro.uni-tuebingen.de)

Last modified by pro2html on 2005 January 04 at 16:38 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically