Thursday, May 8, 2008

Padding numbers

If you want output as 123.90:
sprintf("%0.2f","123.9")

No comments: