phpday 2027 - Call for Papers

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" 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.scale int

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

Note:

BcMath\Number is not affected by this setting.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top