Query: bcmod
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BCMOD(3) 1 BCMOD(3) bcmod - Get modulus of an arbitrary precision numberSYNOPSISstring bcmod (string $left_operand, string $modulus)DESCRIPTIONGet the modulus of the $left_operand using $modulus.PARAMETERSo $left_operand - The left operand, as a string. o $modulus - The modulus, as a string.RETURN VALUESReturns the modulus as a string, or NULL if $modulus is 0.EXAMPLESExample #1 bcmod(3) example <?php echo bcmod('4', '2'); // 0 echo bcmod('2', '4'); // 2 ?>SEE ALSObcdiv(3). PHP Documentation Group BCMOD(3)
Related Man Pages |
---|
moduli(5) - debian |
moduli(5) - freebsd |
moduli(5) - suse |
moduli(5) - osx |
moduli(5) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Forum Video Tutorial: How to Use Code Tags |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Please Welcome Don Cragun as Lead Moderator |
Denial Of Service Attack Update |