title: Twig: How to round up?
body: <p>I have a division in twig. Sometimes, the result can be with decimals and i need to have always a rounded up result.</p>
  
  <p>Ex. </p>
  
  <pre><code>7 / 2 = 3.5
  </code></pre>
  
  <p>I would like to have </p>
  
  <pre><code>7 / 2 = 4
  </code></pre>
  
  <p>I know how to use floor in twig:</p>
  
  <pre><code>7 / 2 | floor = 3
  </code></pre>
  
  <p>But this is rounding to the down digit, not to the upper one.</p>
  
  <p>I know also that i can use number_format</p>
  
  <pre><code>7 / 2 | number_format(0, '.', ',') = 3
  </code></pre>
  
  <p>So this will also take the down digit.</p>
  
  <p>Any idea on how to tell twig to take the upper digit ?</p>
  
  <p>This can be done in a controller (Symfony), but I am looking for  the twig version.</p>
  
  <p>Thank you.</p>