$paren = deg2rad( $paren );
$paren = atan( $paren );
echo $paren;
deg2rad() converts degrees to radians. What I want is the arc tangent (inverse tangent) of $paren in degrees. It should work, but it isn't. . .what's wrong?
So if $paren = "1" it should output 45 (according to my graphing calculator) but it isn't. . .anyone see something wrong?