PHP » GoLang |
login |
register |
about
|
gmp_div_qr(PHP 4 >= 4.0.4, PHP 5, PHP 7) gmp_div_qr — Divide numbers and get quotient and remainder Description
The function divides Parameters
Return ValuesReturns an array, with the first element being [n/d] (the integer result of the division) and the second being (n - [n/d] * d) (the remainder of the division). Examples
Example #1 Division of GMP numbers
<?php |
more
Recently updated
more
Most requested
more
Last requests
|