KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
String val = "98" I need to get the output as 0000098 (7 digits). I need left padding of zeros to the string or integer value... The number stored in val is dynamic and may contain any number of digits, but the output should always be 7 digits.
Tags (comma-separated)
Save Edits
Cancel