PHP 8.1.31 Released!

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().

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top