(PHP 3, PHP 4, PHP 5)
Adds the left_operand to the right_operand and returns the sum in a string. The optional scale parameter is used to set the number of digits after the decimal place in the result.
Example 1. bcadd() example
<?php$a = '1.234';$b = '5';echo bcadd($a, $b); // 6echo bcadd($a, $b, 4); // 6.2340?>
bcsub().
Hosting by: Hurra Communications Ltd.Generated: 2007-01-26 18:00:17