w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PHP Manual

This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.

PHP Manual

PHP Manual

bcpow

(PHP 3, PHP 4, PHP 5)

bcpow --  Raise an arbitrary precision number to another

Description

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.

Examples

Example 1. bcpow() example

<?php

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

?>

See Also

bcpowmod() and bcsqrt().

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved