Thread
:
Mathematical functions in PHP
View Single Post
#
44
(
permalink
)
04-25-2008, 02:54 AM
Jeyaseelansarc
D-Web Genius
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
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
Jeyaseelansarc
View Public Profile
Send a private message to Jeyaseelansarc
Find all posts by Jeyaseelansarc