I'm having trouble getting sprintf to cooperate with me. I want to take a number such as "4.0234", pad up to one 0, and round to 2 decimals, such that I would arrive at "04.02". Seems I can use "%0.2d" to pad zeroes and "%.2f" to round decimals, but I can't figure out how to combine the two. I'd appreciate some assistance on this. Thanks!