bcsub

(PHP 3, PHP 4, PHP 5)

bcsub -- 任意精度数値による減算

説明

string bcsub ( string left operand, string right operand, int [scale] )

right operand から left operand を引いて、その結果を文字列で返します。 オプションの scale パラメータは、結果における 小数点以下の桁数を指定するために使用します。

bcadd()も参照ください。