bcpow

(PHP 3, PHP 4, PHP 5)

bcpow - Raise an arbitrary precision number to another

Описание

string bcpow ( string x, string y [, int scale] )

Raise x to the power y. The optional scale can be used to set the number of digits after the decimal place in the result.

Примеры

Пример 1. bcpow() example
echo bcpow('4.2', '3', 2); // 74.08

Смотрите также: bcpowmod() и bcsqrt().

Описание на ru2.php.net
Описание на php.ru