I have this php
and the $price maybe 1.0000
$price
1.0000
i want 1.00
1.00
number_format works:
echo number_format($price, 2);