Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.atan2() Method in Math Class of Javascript Syntax with Examples
2499 Views
Example
var a=Math.atan2(0,8);        
var b=Math.atan2(6,7);

document.write("A = "+a);
document.write("B = "+b);
Usage 
The Math.atan2() function is used to return the arctangent of the quotient of given arguments.
Syntax 
Math.atan2(Number1, Number2)
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