Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

exp

Description

The exp of Math for PHP calculates the exponent of e.

Syntax

exp ( float $arg ) : float

Parameters

arg

The argument to process

Return

'e' raised to the power of arg

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

Examples

1

<?

$arg = 0.01234;

$return = exp($arg);

echo $return;

?>
1.0124164519487
HomeMenu