To display 5.00 as 05.00
do this
$number = 5.22;
printf("%02.2f",$number);
%02.2f means printing a float number in the 00.00 format.
putting a %02.2 instead of %2.2 differs in that the
%2.2f will print " 5.22" <- notice the space infront
and
%02.2f will print "05.22"
To round to the next higher number.
u can just add 0.005 to the value
$info = 0.0243;
$info += 0.005 //becomes 0.0248
when u round it it will become the bigger number.
echo round($info,2) will print 0.025 without any problem