title: Order of Operations for Jinja2 Filters?
body: <p>I'm not sure of the limits of Jinja, so this might not be possible... I'm trying to calculate a percentage of two variables I've passed into Jinja, but I can't get it to round properly. What I'd like to have is something like:</p>
  
  <pre><code>{{ spygames / games|length * 100 | round(0) | int }}
  </code></pre>
  
  <p>Which gets the correct number (66.666666, since spygames is 2 and there are 3 games), but it renders as "66.6666666667" (I add the % sign in the html) and I want it to just be "67".</p>
  
  <p>I've also tried this by getting the length of games in python and passing it in as a separate integer value, but it still has the same result.</p>
  
  <p>How can I round this down to a whole number?</p>
  
  <p>Thanks!</p>