title: Convert a Long to base 36 in scala
body: <p>How can I convert a Long to base36 ? Along with your answer can explain how you came to the answer?</p>
  
  <p>I've checked the <a href="http://www.scala-lang.org/api/current/index.html#scala.Long" rel="noreferrer">scaladocs for Long</a> for converting to a different base, and on converting a Long to a BigInt. I saw that <a href="http://www.scala-lang.org/api/current/index.html#scala.math.BigInt" rel="noreferrer">BigInt</a> does have <code>toString( base )</code> so a solution could involve changing the type, but I couldn't figure out how.</p>
  
  <p><em>Note: I'm new to scala / java / type-safe languages so I could be overlooking something trivial.</em></p>