   #PHP Manual BCMath Arbitrary Precision Mathematics Functions bcmul
   bcpowmod

   PHP Manual
   Prev  Next
   ______________________________________________________________________

                                     bcpow

   (PHP 3, PHP 4 )
   bcpow --  Raise an arbitrary precision number to another

Description

   string bcpow ( number x, int y [, int scale])

   Raise x to the power y. The optional scale can be used to set the
   number of digits after the decimal place in the result.

   Example 1. bcpow() example
   <?php
   echo bcpow(4.2, 3, 2); // 74.08
   ?>

   See also bcpowmod(), and bcsqrt().
   ______________________________________________________________________

   Prev  Home     Next
   bcmul  Up  bcpowmod
