例子
<?php
$rad = M_PI;
$deg = rad2deg($rad);
echo "$rad radians is equal to $deg degrees";
?>
輸出類似:
3.14159265359 radians is equal to 180 degrees
全站熱搜
例子
<?php
$rad = M_PI;
$deg = rad2deg($rad);
echo "$rad radians is equal to $deg degrees";
?>
輸出類似:
3.14159265359 radians is equal to 180 degrees
留言列表