Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: rad2deg - Manual
[go: Go Back, main page]

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

search for in the

rand" width="11" height="7"/> <pow
Last updated: Wed, 01 Nov 2006
view this page in

rad2deg

(PHP 3 >= 3.0.4, PHP 4, PHP 5)

rad2deg --  ラジアン単位の数値を度単位に変換する

説明

float rad2deg ( float number )

この関数は、number の単位をラジアンから度に 変換します。

例 1. rad2deg() の例

<?php

echo rad2deg(M_PI_4); // 45

?>

deg2rad() も参照ください。



add a note add a note User Contributed Notes
rad2deg
16-Dec-2004 03:22
Definition

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

rand" width="11" height="7"/> <pow
Last updated: Wed, 01 Nov 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites