Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<asinhatan2>
^Math FunctionsLast updated: Mon, 26 Oct 2026

atan

(PHP 4, PHP 5, PHP 7, PHP 8)

atan — Arc tangent

Description

function atan(float $num): float

Returns the arc tangent of num in radians. atan() is the inverse function of tan(), which means that $num == tan(atan($num)) for every value of num that is in the domain of atan().

Parameters

num

The argument to process

Return Values

The arc tangent of num in radians.

See Also


<asinhatan2>
^Math FunctionsLast updated: Mon, 26 Oct 2026