View Single Post
  #33 (permalink)  
Old 04-21-2008, 01:52 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

bcmul() Multiply two arbitrary precision number and Multiply the left_operand by the right_operand and returns the result. The optional scale sets the number of digits after the decimal place in the result.

For e.g
PHP Code:
<?php
echo bcmul('1.34747474747''35'3); // 47.162
echo bcmul('2''4'); // 8
?>
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote