PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

BC Math Functions

Table of Contents

  • bcadd - Add two arbitrary precision numbers
  • bccomp - Compare two arbitrary precision numbers
  • bcdiv - Divide two arbitrary precision numbers
  • bcmod - Get modulus of an arbitrary precision number
  • bcmul - Multiply two arbitrary precision numbers
  • bcpow - Raise an arbitrary precision number to another
  • bcpowmod - Raise an arbitrary precision number to another, reduced by a specified modulus
  • bcscale - Set default scale parameter for all bc math functions
  • bcsqrt - Get the square root of an arbitrary precision number
  • bcsub - Subtract one arbitrary precision number from another

PHP Manual