array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.rad2deg.php', 1 => 'rad2deg', 2 => 'Converts the radian number to the equivalent number in degrees', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Функції Math', ), 'prev' => array ( 0 => 'function.pow.php', 1 => 'pow', ), 'next' => array ( 0 => 'function.round.php', 1 => 'round', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/math/functions/rad2deg.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

rad2deg

(PHP 4, PHP 5, PHP 7, PHP 8)

rad2deg Converts the radian number to the equivalent number in degrees

Опис

rad2deg(float $num): float

This function converts num from radian to degrees.

Параметри

num

A radian value

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

The equivalent of num in degrees

Приклади

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

<?php

echo rad2deg(M_PI_4); // 45

?>

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