English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method returns the exponent of the specified value.
exp(X)
X-Specify a value for the exponential function.
The return value is a floating-point value representing the exponential value.
-module(helloworld). -import(math,[exp/1]). -export([start/). start() -> Aexp = exp(3.14), io:fwrite("~p~n",[Aexp]).
When we run the above program, we will get the following results.
23.103866858722185