home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / baswiz19.zip / BW$BAS.ZIP / BCDD2R.BAS < prev    next >
BASIC Source File  |  1993-01-29  |  853b  |  17 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 BCDDiv$ (Nr1 AS STRING, Nr2 AS STRING)
  10.    DECLARE FUNCTION BCDMul$ (Nr1 AS STRING, Nr2 AS STRING)
  11.    DECLARE FUNCTION BCDpi$ ()
  12.    DECLARE FUNCTION BCDSet$ (NumSt$)
  13.  
  14. FUNCTION BCDDeg2Rad$ (Nr AS STRING)
  15.    BCDDeg2Rad$ = BCDDiv$(BCDMul$(Nr, BCDpi$), BCDSet$("180"))
  16. END FUNCTION
  17.