Ruby: Why does my division return an integer instead of a decimal value?
Greetings
Hey, It's Alexandre Calaça here. Hope you're fine.
Introduction
In this article, let's check why some Ruby's divisions return an integer instead of a decimal value and figure out a way to solve this issue.
Why does it happen?
First things ...
blog.alexandrecalaca.com2 min read