Working with Numbers in Ruby


Not CompletedInteger Arithmetic Guide for a Ruby Program

Being able to compute mathematical equations in a program is a critical task for many programs. In this lesson, we are going to see how to use integer arithmetic in Ruby.

Not CompletedArithmetic Order of Operations for the Ruby Language

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.

Not CompletedDifference Between Integers and Floats in a Ruby Program

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.

Quizzes


Working with Numbers in Ruby
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.