Runtime Configuration

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

BC math configuration options
NameDefaultChangeableChangelog
bcmath.scale"0"INI_ALL 
For further details and definitions of the INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

bcmath.scaleint

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

To Top