PHP: rad2deg - Manual

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: Sat, 27 Jan 2007

view this page in

# rad2deg

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

rad2deg -- Converts the radian number to the equivalent number in degrees

## Description

float rad2deg ( float number )

This function converts `number` from radian to degrees.

Пример 1. rad2deg() example

`<?php echo rad2deg(M_PI_4); // 45 ?>`

See also deg2rad().

add a note User Contributed Notes
rad2deg
15-Dec-2004 10:22
`Definition
<?
function rad2deg($arg) {
return $arg*180/pi();
}
?>`
add a note
rand pow

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST