DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
padding a string with 0 in java
String.format("%05d", yournumber); //%05 means length of 5 // 25 becomes 00025
PREVIOUS
NEXT
Tagged:
#padding
#string
#java
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit