If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it In Elixir, the operator / always returns a float.
Original toplevel document
Basic types - The Elixir programming language arithmetic Open up iex and type the following expressions: 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. <span>In Elixir, the operator / always returns a float. 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 Elix
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised 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.