The behaviour of these functions is affected by settings in php.ini.
Here's a short explanation of the configuration directives.
Number of decimal digits for all bcmath functions. See also bcscale().