home *** CD-ROM | disk | FTP | other *** search
/ POINT Software Programming / PPROG1.ISO / basic / baswiz19 / examples / rad2degd.bas < prev    next >
Encoding:
BASIC Source File  |  1993-01-29  |  661 b   |  14 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        BASWIZ  Copyright (c) 1990-1993  Thomas G. Hanlin III         |
  4. '   |                                                                      |
  5. '   |                      The BASIC Wizard's Library                      |
  6. '   |                                                                      |
  7. '   +----------------------------------------------------------------------+
  8.  
  9.    DECLARE FUNCTION PiD# ()
  10.  
  11. FUNCTION Rad2DegD# (Nr AS DOUBLE)
  12.    Rad2DegD# = Nr * 180# / PiD#
  13. END FUNCTION
  14.