« インストール手順
BC Math 関数 »

実行時設定

php.ini の設定により動作が変化します。

BC 数学関数設定オプション
名前 デフォルト 変更可能 変更履歴
bcmath.scale "0" INI_ALL  
INI_* モードの詳細および定義については どこで設定を行うのか を参照してください。

以下に設定ディレクティブに関する 簡単な説明を示します。

bcmath.scale int

全ての bcmath 関数に関する 10 進桁数。 bcscale() も参照ください。

注意:

BcMath\Number クラスは、この設定の影響を受けません。

関連キーワード:
bcmath   Math   変化   モード   ディレクティブ   桁数   bcscale   BcMath   Number   影響
関連する関数・ページ:
bc.installation   bcmath-number.tostring   bcmath-number.construct   bcmath-number.serialize   bcmath-number.unserialize   class.bcmath-number