Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

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.

Example 1. rad2deg() example

<?php

echo rad2deg(M_PI_4); // 45

?>

See also deg2rad().



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Favorite Bookmarks | Loan | Debt Management | Mortgages | Charity
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp