View Single Post
  #56 (permalink)  
Old 05-02-2008, 06:15 AM
senraj senraj is offline
D-Web Master
 
Join Date: Jul 2007
Posts: 418
senraj is on a distinguished road
Post Re: Mathematical functions in PHP

Hi,

pi() Definition and Usage

The pi() function returns the value of PI.

Example

PHP Code:
<?php
echo pi();
?>
The output of the code above will be:

3.14159265359
__________________
Regards,
Senraj.A
Reply With Quote