How to convert float percent value to integer percent?
<p>How to convert float percent number value to integer  percent number value in PHP?</p>

<p>Example: 3.8461538461538 % = 4 %</p>

<p>Update: 
Here is my code ,  I coded to get percent value, but I get decimal value, but I need it without decimal value.</p>

<pre><code>$total = array_sum($total_count);
$percent = ($occurs/$total)*100;
echo $percent ; 
echo "%";
</code></pre>
