var n = 10; "000".substr(0, 3-String(n).length) + n
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.