bcsub

(PHP3 , PHP4 )

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

説明

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

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

参照:bcadd()