Using the arbitrary-precision functions for exact integer arithmetic : Math Functions « Math « PHP
- PHP
- Math
- Math Functions
Using the arbitrary-precision functions for exact integer arithmetic
<?
for ($x = 1; $x < 25; $x++) {
print("$x to the $x power is " . bcpow($x, $x) . "<BR>");
}
?>
Related examples in the same category