title: How can I calculate the +-*/% on laravel blade?
body: <pre><code>@foreach ($searchalls as $searchall)
      @php
        $i=1
      @endphp
       {{$i }} ={{$loop-&gt;iteration}}%3
       @if($i == 1 )
        &lt;div class="row clearfix"&gt;
         @endif 
          &lt;div class="col-md-4 column"&gt;
                  &lt;h2&gt;
                  {{$search_all-&gt;id }}Heading
                  &lt;/h2&gt;&lt;p&gt;once OK.
                  &lt;/p&gt;
                  &lt;p&gt;
                       &lt;a class="btn" href="#"&gt;View details »&lt;/a&gt;
                  &lt;/p&gt;
         &lt;/div&gt;
  </code></pre>
  
  <p>I got the result on blade is</p>
  
  <pre><code>1 =1%3
  1 =2%3
  1 =3%3
  1 =4%3
  </code></pre>
  
  <p>cannot got the number remainder?</p>
  
  <p>How can I fix the problem?</p>