When using arithmetic operators, it's important to understand the order of operations as the compiler uses a specific format to determine this order. A good way to remember this order is with the acronym PEMDAS or with the sentence: Please Excuse My Dear Aunt Sally.
Ruby has a few different data types for working with numbers, two of the primary options are Integer and Float, in this lesson we're going to walk through the difference between the two data types and how they can affect your program.
devCamp does not support ancient browsers.
Install a modern version for best experience.