Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.atan2() Method in Math Class of Javascript Syntax with Examples
1043 Views
Usage 
The Math.atan2() function is used to return the arctangent of the quotient of given arguments.
Syntax 
Math.atan2(Number1, Number2)
Example
var a=Math.atan2(0,8);        
var b=Math.atan2(6,7);

document.write("A = "+a);
document.write("B = "+b);
Output 
A = 0
B = 0.7086262721276703
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details