Function Friday: Pow () Function
Friday May 23, 2008
The Pow () function in PHP is used like an exponent, to raise a number to a power. The first number listed is the base number and the second number listed is the exponent.
pow (2, 4)
In the above example, two is raised to the power of four (2^4) to return the value of 16.


No comments yet. Leave a Comment