Source Code:
(back to article)
<?php $y = 1; $x = 0.5; // Get the arc tangent of the two numbers using the atan2() function $arc_tangent = atan2($y, $x); // Output the arc tangent of the two numbers echo $arc_tangent; ?>
Result:
Report an issue