English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method checks if the number is an integer value.
Is_Integer(X)
X-A numeric value.
If the number specified as a parameter is an Integer value, the return value will be true, otherwise it will return false.
-module(helloworld). -export([start/0]). start() -> Num = 3, io:fwrite("~w",[is_integer(Num)]).
When we run the above program, we will get the following results.
true