Builtin

maths.e

maths.e

Returns e, the base of the natural logarithms.

Examples

Continuously compounding interest
import("maths")
principal:=10000.0
rate:=6.0/100.0
duration:=20.0
print(principal * maths.top(a:=maths.e, b:=rate * duration)..c)
33201.17