Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

<?
print(bcpow("66394593", "3", 10));
?>


string bcsqrt(string value, integer scale)


The bcsqrt function returns the square root of the value argument.


<?
print(bcsqrt("1234.567", 10));
?>


string bcsub(string left, string right, integer scale)


Use the bcsub function to subtract the right argument from the left argument.


<?
print(bcsub("1234.4842", "88.6674"));
?>

Free download pdf