kevin_schmidt Posted October 20, 2015 Share Posted October 20, 2015 The example code for Math.tan at: http://www.w3schools.com/jsref/jsref_tan.asp uses: Math.tan(90) as an example, however Math.tan takes radians, not degrees. Very rarely would you specify 90 radians. I would recommend this be something like: Math.tan(Math.PI) or something similar as well as adding a note mentioning it takes radians. 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