If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it If you want to do integer division or get the division remainder, you can invoke the div and rem functions Original toplevel document
Basic types - The Elixir programming languageessions: iex> 1 + 2 3 iex> 5 * 5 25 iex> 10 / 2 5.0 Notice that 10 / 2 returned a float 5.0 instead of an integer 5. This is expected. In Elixir, the operator / always returns a float. <span>If you want to do integer division or get the division remainder, you can invoke the div and rem functions: iex> div(10, 2) 5 iex> div 10, 2 5 iex> rem 10, 3 1 Notice that Elixir allows you to drop the parentheses when invoking named functions with at least one argument. This featur