rad2deg

(PHP 4, PHP 5, PHP 7)

rad2deg 라디안 수를 각도로 변환

설명

float rad2deg ( float $number )

이 함수는 number 라디안을 각도로 변환합니다.

인수

number

라디안 값

반환값

동일한 number도.

예제

Example #1 rad2deg() 예제

<?php

echo rad2deg(M_PI_4); // 45

?>

참고

  • deg2rad() - 각도를 라디안으로 변환

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top