You want to take a look at printf. I believe the
specific format you are looking for is "%0.2f"
UPDATE:I accidentally said 0.2d, I
meant 0.2f but already clicked on submit. Thought I could
fix it before anybody saw it, but ovid was too fast for
me. :)