PHP funkce pow()
Dostupnost ve verzích: PHP 4.0
Exponential expression
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$base |
number |
není | The base to use |
$exp |
number |
není | The exponent |
Návratové hodnoty
number
base raised to the power of exp. If the result can be represented as integer it will be returned as type integer, else it will be returned as type float. If the power cannot be computed false will be returned instead.