Wanted to as a simple question.
Code:
$myarray = array(5.0000); echo round($myarray[0],2); Ouput:
5 Why is the output 5 and not 5.00 ?
Thanks
It doesn't show the 0's after the decimal point if there are only 0's.
5.050 would be shown as 5.05...
you can have a look at the number_format function if you want to show the 0's.