title: Compare number and its string representation
body: <pre><code>val1 = 1
  val2 = "1"
  
  if val1 == val2 #&lt; Question is in this line
  end
  </code></pre>
  
  <p>How to compare number and its string representation?</p>