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 | conferences | my php.net

search for in the

rand" width="11" height="7"/> <pow
Last updated: Sun, 25 Nov 2007

view this page in

rad2deg

(PHP 4, PHP 5)

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

説明

float rad2deg ( float $number )

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

パラメータ

number

ラジアン値。

返り値

number と同等な値を度で表したものを返します。

Example#1 rad2deg() の例

<?php

echo rad2deg(M_PI_4); // 45

?>

参考



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: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites