Welcome to the Treehouse Community
Looking to learn something new?
Where Does Modulus Fit Into the Order of Operations in Ruby & Confirming that Ruby Follows the Math Order of Operations
Jason's Operator Precedence video introduced very briefly at the end about how the modulus fits into the order of operations. I assume that Ruby follows PEMDAS (parenthesis are handled first, then exponents, then multiplication/division, and addition/subtraction last), but where does modulus fit into all of this? Is it considered the same as division?