Exp

Not available in this language yet.
Exp( value )
Exp( value )
Exp( value )
Not available in this language yet.
Exp( 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.

Not available in this language yet.
Not available in this language yet.
System.out.println(
    client.query(
        Exp(Value(1.5))
    ).get());
4.4816890703380645
client.query(
  q.Exp(1.5)
)
.then((ret) => console.log(ret))
4.4816890703380645
Not available in this language yet.
println(Await.result(
  client.query(
    Exp(1.5)
  ),
  5.seconds
))
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!