Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<InstallationBC Math Functions>
^Installing/ConfiguringLast updated: Mon, 26 Oct 2026

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.


<InstallationBC Math Functions>
^Installing/ConfiguringLast updated: Mon, 26 Oct 2026