Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

atan2

(PHP 3>= 3.0.5, PHP 4 , PHP 5)

atan2 -- Arc tangent of two variables

Description

float atan2 ( float y, float x)

This function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the result.

The function returns the result in radians, which is between -PI and PI (inclusive).

See also acos() and atan().



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Mobile Phones | WesternUnion | Mortgages | Loans | Adverse Credit Remortgage
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp