• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Core Syntax > Math.atan2()

Math.atan2()

JavaScript 1.0+, ECMAScript 1.0+, Jscript 3.0+ Nav2+, NES2+, IE4+ Syntax

							math.atan2(num1, num2)
						

Description

The atan2() method of the Math object is used to calculate the arctangent of the quotient of its parameters. It returns a numeric value between –PI and PI representing the angle theta of an (x,y) point.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint