bcadd PHP 3.0

string bcadd(string left_operand, string right_operand[, int scale])

 

Returns the sum of two arbitrary precision numbers.

bccomp PHP 3.0

string bccomp(string left_operand, string right_operand[, int scale])

 

Compares two arbitrary precision numbers.

bcdiv PHP 3.0

string bcdiv(string left_operand, string right_operand[, int scale])

 

Returns the quotient of two arbitrary precision numbers (division).

bcmod PHP 3.0

string bcmod(string left_operand, string right_operand)

 

Returns the modulus of the two arbitrary precision operands.

bcmul PHP 3.0

string bcmul(string left_operand, string right_operand[, int scale])

 

Returns the product of two arbitrary precision numbers.

bcpow PHP 3.0

string bcpow(string x, string y[, int scale])

 

Returns the value of an arbitrary precision number raised to the power of another arbitrary precision number.

bcscale PHP 3.0

string bcscale(int scale)

 

Sets default scale parameter for all BC math functions.

bcsqrt PHP 3.0

string bcsqrt(string operand[, int scale])

 

Returns the square root of an arbitrary precision number.

bcsub PHP 3.0

string bcsub(string left_operand, string right_operand[, int scale])

 

Returns the difference between two arbitrary precision numbers.