perform round function without using round() in php
<p>without use of round() function perfrom the round() in php</p>

<pre><code>  $a = "123.45785";
  $v = round($a);
  output: 123.46;
</code></pre>

<p>it had done by round function but i want to get output without use of round and number_format() function.</p>
