title: Casting String to Long in Scala in template play 2.0 template
body: <p>How can I cast from a String to a long in a Scala play 2.0 template?</p>
  
  <p>I want to do the following where I have the action: <code>Application.profile(Long user_id)</code>:</p>
  
  <pre><code>&lt;a href='@routes.Application.profile((Long) session.get("user_id"))'&gt;@session.get("username")&lt;/a&gt;
  </code></pre>