Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#elixir
Question
If you want to do integer division or get the division remainder, you can invoke the [...] and rem functions
Answer
div

Tags
#elixir
Question
If you want to do integer division or get the division remainder, you can invoke the [...] and rem functions
Answer
?

Tags
#elixir
Question
If you want to do integer division or get the division remainder, you can invoke the [...] and rem functions
Answer
div
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 language
essions: 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

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.