Skip to content

Instantly share code, notes, and snippets.

@GarthDB
Created October 17, 2011 18:36
Show Gist options
  • Save GarthDB/1293404 to your computer and use it in GitHub Desktop.
Save GarthDB/1293404 to your computer and use it in GitHub Desktop.
coffee script
i = 0
while i < (totalDigits-n.length)
pad += '0'
i++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment