nhatlinhvietnam Posted April 3, 2009 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?
BlackDragonBE Posted April 3, 2009 Posted April 3, 2009 Of course the value isn't one... Tan(45) = 1.61977519 or 92.8062822 degrees
nhatlinhvietnam Posted April 3, 2009 Author 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)
PsaltyDS Posted April 3, 2009 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
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