java tutorial - Java Math.atan2() Мethod - tutorial java - java programming - learn java- java basics - java for beginners
Description
Learn Java - Java tutorial - Java numbers atan2 - Java examples - Java programs
Method Math.atan2 () - It converts rectangular coordinates (x, y)in to polar coordinates (r, theta) and then returns theta.
Syntax
Options
Detailed information about the parameters:
- X is the x coordinate in the double data type.
- Y is the y coordinate in the double data type.
Return value
- In Java, Math.atan2 () returns a theta from the polar coordinates (r, theta).