php8.5
Home/ Manual/ reference / bc/ BC math configuration options

BC math configuration options

BC math configuration optionsNameDefaultChangeableChangelogbcmath.scale"0"INI_ALL Constants

Runtime Runtime

NameDefaultChangeableChangelog
bcmath.scale"0"INI_ALL

Constants

Title

bcmath.scaleint

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

Note

BcMath\Number is not affected by this setting.

Source: reference/bc/ini.xml · from the official PHP manual (php/doc-en)