DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
print number with leading zeros
int n = 123; printf("%0.5d", n); // 00123
PREVIOUS
NEXT
Tagged:
#print
#number
#leading
#zeros
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit