Elixir Learnings 001: div and rem
This is part of my series on Elixir Learnings, where I share micro posts about everything I'm learning related to Elixir.
div and rem stand for division and remainder. We can get the result of a division between two numbers.
div 10, 2 # 5
div 10, 3 #...
tk.hashnode.dev
Francisco Quintero
Software Engineer & Ruby on Rails Developer
Great to know these two functions exist. Thanks!