Skip to content

Instantly share code, notes, and snippets.

@Amli
Created February 11, 2014 13:15
Show Gist options
  • Save Amli/8934613 to your computer and use it in GitHub Desktop.
Save Amli/8934613 to your computer and use it in GitHub Desktop.
n = 1;
String("00" + n).slice(-2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment