Cancel
Image Upload
Latest
Articles
Jobs
Login
Register
Terms
myDesignTool™
Published Articles
Programming
Nature and Wildlife
TV & Show Business
Science and Technology
Sports
Offbeat
Forums
General Debates
Sport
TV & Show Business
Science and Technology
Finance
Health
Programming
Software
Service Providers
Internet
Ad Services
Programming
PHP
MySQL
JavaScript
HTML
CSS
Apache
ASCII Codes
RSS
Regular Expressions
Programming Tools
PHP
Array Functions
Date & Time
FTP Functions
Maths Functions
String Manipulation
DOM
Webserver & Directory
Garren Harland (Score: 99, Posted: July 4, 2009, 8:57 pm)
How to get pi in PHP
Producing pi in PHP is even simpler than printing
Hello World
:
<?php
echo pi();
?>
Result as expected:
3.1415926535898
It does not get any simpler than that;-)!
Login
Want to leave a comment?
No problem. Just enter your email and password below.
register
|
home
|
reminder