both number_format() and round() will round the number, however round() will leave off the trailing zeros which can be important. the orginal poster didn't say he needed to round the number, just show two decimal places. but its likely both functions will work for what he is trying to do.
$a = "4.4";
$b = "4.5";
echo "number_format(a): ", number_format($a,2), "\n"; #output is 4.40
echo "number_format(b): ", number_format($b,2), "\n"; #output is 4.50
echo "round(a): ", round($a,2), "\n"; #output is 4.4
echo "round(b): ", round($b,2), "\n"; #output is 4.4