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

exp

Description

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

Syntax

exp(
    float $num
): float

Parameters

num

The argument to process.

Return

'e' raised to the power of num

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

Examples

1 · num

<?

$num = 0.01234;

$return = exp($num);

echo $return;
1.0124164519487