Creator Help

exp

This topic describes the syntax and usage of the exp function in Zoho Creator .

Description

The exp function returns e raised to the power of a given number. The constant e equals 2.71828182845904, the base of the natural logarithm.

Syntax

<number>.exp()

(or)

exp(<number>);   // This format is supported only in free-flow scripting mode of script builder.

The exp function syntax has the following arguments:

number - Required. An integer/decimal value applied to the base e.

Return Value

Returns an integer / decimal value representing the exponent.

Example

exp(2)   

(or)

2.exp() 

Top