Interactive mode: iex
Initial Commands:
Running Scripts: elixir hello-word.exs
Hello Word:
will show something like this:
Term
1
Data type
Integer
Reference modules
Integer
Implemented protocols
IEx.Info, Inspect, List.Chars, String.Chars
10/2
always return a float number, to get an integer, use div
and rem
functions: