Exp

Copied!
( value )

Description

The Exp function returns Euler’s number e (approximately 2.71828) raised to a power provided as the operand.

Parameters

Argument Type Definition and Requirements

value

Number

The power to raise e to.

Returns

A number which is the result of raising e to a power.

Examples

The query in the following example returns the Euler’s number raised to the power of 1.5.

Copied!
client.query(
  q.(1.5)
)
.then((ret) => console.log(ret))
4.4816890703380645

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!