There will be times in your development career when you will either need to find how many times an integer is divisible by another integer, or you will need to know how much is left over after that division. Fortunately, Ruby has several built-in methods to help you find the quotient, the remainder, both, or neither. Unfortunately, Ruby has several built-in methods to help you find the quotient, the remainder, both, or neither. In certain situations, they actually return different results. …

Dan Hope

Baker turned software engineering student.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store