rad2deg

(PHP 4, PHP 5)

rad2deg Converts the radian number to the equivalent number in degrees

Опис

float rad2deg ( float $number )

This function converts number from radian to degrees.

Параметри

number

A radian value

Значення, що повертаються

The equivalent of number in degrees

Приклади

Приклад #1 rad2deg() example

<?php

echo rad2deg(M_PI_4); // 45

?>

Прогляньте Також

  • deg2rad() - Converts the number in degrees to the radian equivalent

add a note add a note

User Contributed Notes

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