float pow ( float $base, float $exp )
pow() returns $base raised to the power of $exp
※ available F/W version : all
Returns $base raised to the power of $exp
<?php
$base = 2.0;
$exp = 3.0;
$ret = pow($base, $exp);
echo "ret = $ret\r\n"; // OUTPUT: ret = 8
?>
This function is identical to the PHP group’s pow() function, but it supports only float.