title: Velocity - random number generation in a template
body: <p>I'd like to assign a random value to a variable in a velocity template.</p>
  
  <p>However this code:</p>
  
  <pre><code>#set ($random = $math.getRandom())
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>java.util.Random@5706937e
  </code></pre>
  
  <p>How to obtain this value or assign a random value to a variable in a different way from within a velocity template?</p>