PHP pow() Function

The pow() function is raises the first argument to the power of the second argument.

Demo :



X Number : Y Number :  
Pow Numbers is : 1

Example :

Example 1: Type No:4 ,2
Example 2: Type No:- 6 ,2
Example 3: Type No:- 5.60,6

If you need to calculate pow value following code useful to you.


<?php
 $x_no = 4;
 $y_no = 2;
 $result = pow($x_no,$y_no);
 echo $result;
?>

In the above code is used to calculate for first argument to the power of the second argument.In the pow() functions have used two argument that name is number base,number exponent.

Free Download Script :

If you need pow() function demo code download from following link.

Download




Content