広告
引数のアークコサインを返します。
返り値はラジアンとなるので、角度で表したい場合はrad2deg関数を使用します。
$lng = red2deg( acos (-0.5)); print $lng;
120
https://www.7key.jp/program/php/acos.html