Results 1 to 10 of 203

Thread: thinBASIC 1.9.16.X

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #38
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405
    Thanks Primo, I have functions to do those already in my archives, will dig them up. I never thought of the different degree types.

    Found them here they are:
    function Rad2Deg(rad as double)
      function = ( ( rad * 180 ) /  3.14159265 )
    end function
    
    function Deg2Rad(deg as double)
      function = ( ( deg *  3.14159265 ) / 180 )
    end function
    
    Thanks again, all tests green now.
    Last edited by kryton9; 10-05-2017 at 12:30.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •