bcdiv
bcdiv
Divide two arbitrary precision numbers
string **bcdiv** string $num1 string $num2 $scale
Divides by .
num1``num2
num1The dividend, as a string.
num2The divisor, as a string.
Returns the result of the division as a string.
This function throws a
exception if is .
num2``0
Voorbeeld: example
<?php
echo bcdiv('105', '6.55957', 3); // 16.007
?>
bcdivmod``bcmod``bcmul``BcMath\Number::div