Chances are DRJ's links will help you out... but if they don't odds are you'd be better served by telling us what you want instead of how you do it in another language.
Here's an explanation:
The forat for the conversion specification always starts with the percent sign (%). The '0' is the padding character. 4 is the minimum width and d means represent the input value as decimal number.
That's it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.