DSQRD opened this issue on Nov 08, 2012 ยท 3 posts
DSQRD posted Thu, 08 November 2012 at 10:18 AM
I would like to convert an integer to a padded string.
IE 1 becomes 0001
Can anyopne show me how.
bagginsbill posted Thu, 08 November 2012 at 10:38 AM
x = 1
print "%04d" % x
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)
DSQRD posted Thu, 08 November 2012 at 11:11 AM
Thanks. I knew it was simple.