PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

rand> <pow
Last updated: Sun, 25 Nov 2007

view this page in

rad2deg

(PHP 4, PHP 5)

rad2deg — 라디안을 각도로 변환합니다.

설명

float rad2deg ( float $number )

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

Example#1 rad2deg() 예제

<?php

echo rad2deg(M_PI_4); // 45

?>

참고: deg2rad().



add a note add a note User Contributed Notes
rad2deg
money1109 at gmail dot com
15-May-2008 03:59
Conversion between grads and degrees

function gon2deg($gon) {
    return ($gon / 400) * 360;
}

function deg2gon($deg) {
    return ($deg / 360) * 400;
}
15-Dec-2004 10:22
Definition

<?
function rad2deg($arg) {
 return $arg*180/pi();
}
?>

rand> <pow
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites