bcmodGet modulus of an arbitrary precision number Description
string bcmod(string
$num1 , string $num2 , intnull $scale = null )
Get the remainder of dividing Parameters
Return Values
Returns the modulus as a string, or Changelog
ExamplesExample #1 bcmod example
Example #2 bcmod with decimals
See Also
|