-
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:
Code:
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.
-
Hi Kent,
DegToRad and RadToDeg are part of thinBasic Math module, so you don't have to declare them yourself :)
Petr
-
Petr, you know what it is? Its been 11 years of thinBasic and it just seems like 4 at the most. And of course, in all of that time much has been added to thinBasic, and I am still thinking like it was 11 years ago. I need to check the help first from now on :D