PHP Manual
Prev |  | Next

# bcdiv

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

bcdiv -- Divide two arbitrary precision numbers

## Description

``string bcdiv` (string left operand, string right operand [, int scale])`

Divides the `left operand` by the `right operand` and returns the result. The optional `scale` sets the number of digits after the decimal place in the result.

See also bcmul().

Prev | Home | Next
bccomp | Up | bcmod