View Single Post
  #44 (permalink)  
Old 04-25-2008, 02:54 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Mathematical functions in PHP

To get the square root of an arbitrary precision number we can use bcsqrt() function

For example
PHP Code:
<?php

echo bcsqrt('2'3); // 1.414

?>
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote