Created
April 7, 2017 22:37
-
-
Save romach/c9e59e5a0490ebad13ac5e3d8e22f4fb to your computer and use it in GitHub Desktop.
Format int with leading zeroes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.format("%05d", yournumber); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment