Easy Tutorial
❮ Php Get Php Imagearc ❯

PHP atan() Function

PHP Math Reference Manual

Example

Return the arctangent of different numbers with the atan() function:


Definition and Usage

The atan() function returns the arctangent of arg, with the result being a numeric value between -Pi/2 and Pi/2.


Syntax

Parameter Description
arg Required. Specifies the argument to process.

Technical Details

Return Value: The arctangent of arg, in radians.
Return Type: Float
--- ---
PHP Version: 4+
--- ---
❮ Php Get Php Imagearc ❯