note 15472 added to function.pow

From: Date: Wed, 12 Sep 2001 17:32:27 +0000
Subject: note 15472 added to function.pow
Groups: php.notes 
Request: Send a blank email to php-notes+get-17940@lists.php.net to get a copy of this message
to compute the exponent from given power and base <? $exp=3; $base=2; $power=pow($base,$exp); print("$base raised to the power of $exp returns $power\n"); $exp2=log10($power)/log10($base); print("if power of expression is $power and base is $base than the exponent is $exp2\n"); ?> http://www.php.net/manual/en/function.pow.php

« previous php.notes (#17940) next »