Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

bcpow

(PHP 3, PHP 4 , PHP 5)

bcpow --  Effettua l'elevamento a potenza

Descrizione

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

Eleva x alla potenza y. Il parametro opzionale precisione puņ essere usato per impostare il numero di cifre dopo il punto decimale nel risultato.

Esempio 1. bcpow() example

<?php

echo bcpow(4.2, 3, 2); // 74.08

?>

Vedere anche bcsqrt() e bcsqrt().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Manuale PHP". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.