downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<deg2radexpm1>
Last updated: Thu, 26 Jun 2008

exp

(PHP 4, PHP 5)

exp — Calculates the exponent of e

Description

float exp ( float $arg )

Returns e raised to the power of arg .

Note: 'e' is the base of the natural system of logarithms, or approximately 2.718282.

Parameters

arg

The argument to process

Return Values

'e' raised to the power of arg

Examples

Example #1 exp() example

<?php
echo exp(12) . "\n";
echo
exp(5.7);
?>

The above example will output:

1.6275E+005
298.87

See Also



add a noteadd a note User Contributed Notes
Calculates the exponent of e
There are no user contributed notes for this page.




<deg2radexpm1>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs