exp()

exp()

Overview

The exp() function takes a number as an argument, and returns the exponential value, of that number. That is, e (2.71828182845904) raised to the power of the given number.

Return Type

  • Decimal

Syntax

<variable> = <number>.exp();

(OR)

<variable> = exp(<number> );
ParameterDescriptionData type
<variable>Variable which will contain the returned value.NUMBER
<number>The number whose exponential value will be returned.NUMBER or DECIMAL

Examples

number = 1;
expValue = number.exp();      // returns 2.718281828459045

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com