Jump to content


This topic is now archived and is closed to further replies.


Printf() help

Recommended Posts

Hey i need some help, I want to convert some numbers so they all have a length of 4, by adding a certain number of preceeding zeros to them. so like 7 would print out as 0007, and 77 would print as 0077.
Anyone know the code for this.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.