Convert int to float and float to int with Elixir

Essential Elixir : part 3 of 10 published on Aug 07, 2015

To convert an int to a float:

> 10 / 1
10.0

To convert a float to an int:

> round(10.0)
10
Next: Looping through an array / list