title: Division of Two Variables in Twig file.
body: <p>I have the following two variables in twig file.</p>
  
  <pre><code>{%set sanstha_target%}
      {%render 'FrontBundle:Datasheet:getCurrentTarget' with {'dealer':recent_entry.id,'month':recent_entry.year~recent_entry.month,'type':'3'}%}
  {%endset%}
  
  {%set sanstha_actual%}
      {%render 'FrontBundle:Datasheet:getTotal' with {'datasheet':recent_entry.datasheet,'dealer':recent_entry.id,'type':'3'}%}
  {%endset%}
  </code></pre>
  
  <p>The when I am going to divide this getting this error:</p>
  
  <pre><code>An exception has been thrown during the rendering of a template ("Notice: Object of class Twig_Markup could not be converted to int...
  </code></pre>
  
  <p>I need to get the percentage like this</p>
  
  <pre><code>{{ (sanstha_actual/sanstha_target)*100}}
  </code></pre>