DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
validate int have 3 digits c#
int X = 9; string PaddedResult = X.ToString().PadLeft (3, '0'); // results in 009
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#validate
#int
#digits
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit