Use this php display number as money snippet to output any number in money format using php.
$<?php echo number_format(1152.9, 2); ?>
$<?php echo number_format(1152.90000, 2); ?>
Both of these will output $1,152.90.
This is the way I like my prices formatted. There are many other variations of ways you can format numbers using the php number_format function.