title: Dividing and Multiplying in views - laravel
body: <p>In the following html template, I am trying to get the percentage, in the form:</p>
  
  <p><strong>4%</strong></p>
  
  <p>but when I perform multiplication and division, it appears as </p>
  
  <p><strong>2/50*100</strong> </p>
  
  <p>How can I get my desired result?</p>
  
  <pre><code>&lt;div class="card-content collapse show"&gt;
                    &lt;div class="card-body"&gt;
                        @foreach ($items-&gt;products as $i)
         &lt;div style="font-size:14px"&gt;{{$i-&gt;count}}/{{$total}}*100 %&lt;/div&gt;
                        @endforeach 
                    &lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>