Thread
:
Mathematical functions in PHP
View Single Post
#
37
(
permalink
)
04-22-2008, 01:34 AM
Jeyaseelansarc
D-Web Genius
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Re: Mathematical functions in PHP
bcmod() Get modulus of an arbitrary precision number
For e.g
PHP Code:
<?php
echo
bcmod
(
'4'
,
'2'
);
// 0
echo
bcmod
(
'2'
,
'4'
);
// 2
?>
__________________
With,
J. Jeyaseelan
Everything Possible
Jeyaseelansarc
View Public Profile
Send a private message to Jeyaseelansarc
Find all posts by Jeyaseelansarc