nhatlinhvietnam Posted April 3, 2009 Share Posted April 3, 2009 I have made a program about Maths,I use tan(45) $test = tan(45) Msgbox(0,"Tan 45",$test) And result is not 1! I think this problem about Radian and Degree,how i change defaut from radian to degree? Link to comment Share on other sites More sharing options...
BlackDragonBE Posted April 3, 2009 Share Posted April 3, 2009 Of course the value isn't one... Tan(45) = 1.61977519 or 92.8062822 degrees Link to comment Share on other sites More sharing options...
nhatlinhvietnam Posted April 3, 2009 Author Share Posted April 3, 2009 Of course the value isn't one... Tan(45) = 1.61977519 or 92.8062822 degreesSorry,i used atan $test = atan(45) Msgbox(0,"Tan 45",$test) Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 3, 2009 Share Posted April 3, 2009 Sorry,i used atan $test = atan(45) Msgbox(0,"Tan 45",$test) Dog ate your help file? The example script under ATan() even includes conversion to degrees. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now