bcdivDivide two arbitrary precision numbers Description
string bcdiv(string
$num1 , string $num2 , intnull $scale = null )
Divides Parameters
Return ValuesReturns the result of the division as a string. Errors/ExceptionsThis function throws a ValueError in the following cases:
This function throws a DivisionByZeroError
exception if Changelog
ExamplesExample #1 bcdiv example
See Also
|