title: smarty convert string to number
body: <p>I need to do deviding:</p>
  
  <pre><code>{math equation="x/y" x=$x y=$y} // $x = '2', $y = '3'
  </code></pre>
  
  <p>How to convert strings to numbers exactly in Smarty, coz I don't have access to proprietary code of CMS?
  Thanx!</p>
  
  <p><strong>UPD: Smarty version: 2.6.18</strong></p>