title: Using `modulo` how to get 3 columns?
body: <p>I am trying to split my data in to 3 colusing using this tempalte:</p>
  
  <pre><code>&lt;% _.each(userDetails.userFunctionMaps, function(item, index){ %&gt;
                      &lt;% if(item.function.reference.toUpperCase() == "PCOPERF") %&gt;
                  &lt;tr&gt;
                      &lt;% if( index  % 3 == 0) %&gt;
                      &lt;td&gt;&lt;%= item.function.functionName %&gt;&lt;/td&gt;
                      &lt;td&gt; :&lt;%=  item.function.active == "Y" ? "Y" : "N" %&gt;&lt;/td&gt;
                      &lt;% if(index  % 3 == 1) %&gt;
                      &lt;td&gt;&lt;%= item.function.functionName %&gt;&lt;/td&gt;
                      &lt;td&gt; :&lt;%=  item.function.active == "Y" ? "Y" : "N" %&gt;&lt;/td&gt;
                      &lt;% if(index  % 3 == 2) %&gt;
                          &lt;td&gt; &lt;%= item.function.functionName %&gt;&lt;/td&gt;
                          &lt;td&gt; :&lt;%=  item.function.active == "Y" ? "Y" : "N" %&gt;&lt;/td&gt;
                  &lt;/tr&gt;
  
                  &lt;% })%&gt;
  </code></pre>
  
  <p>But the <code>modulo</code> is not retuning the corect out put..</p>
  
  <p>Any one help me please</p>