Skip to content
Vašek edited this page Jan 13, 2019 · 7 revisions

exp

This function will return Euler's Number power n-times

Syntax:

exp(n)
Argument Description
double n The power of e

Returns: double

Description:

This is function e power n, where e is Euler's Number - approximately 2.718281828 and n is the number of times e will multiply itself. So the function exp(2) is equal to e*e.

Example:

double value;
value = exp(5);

This function will set value to 148,41316.

Example 2:

double value;
value = exp(-2);

This function will set value to 0,135336.

Back to number_functions

Clone this wiki locally