Installing/Configuring
PHP Manual

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

BC math configuration options
Name Default Changeable Changelog
bcmath.scale "0" PHP_INI_ALL  
For further details and definitions of the PHP_INI_* constants, see the php.ini directives.

Here's a short explanation of the configuration directives.

bcmath.scale integer

Number of decimal digits for all bcmath functions. See also bcscale().


Installing/Configuring
PHP Manual