title: How to get the base 10 logarithm of a Fixnum in Ruby?
body: <p>I want to get the base 10 logarithm of a Fixnum using Ruby, but found that n.log or n.log10 are not defined. Math::log is defined but uses a different base than 10.</p>
  
  <p>What is the easiest way to get the base 10 logarithm of a Fixnum?</p>