Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
AndyBrown
Contributor
Contributor

How to Format Leading Zeros for Numeric.sequence ?

I need to output Numeric.sequence with a specified number of digits. If the numeric value is less than the number of digits, I need leading zeros to be inserted... If I need 5 digits,
Ex: "12" = "00012"
Ex: "12392" = "12392"
Ex: "9" = "00009"
Any easy way to do this in a tMap?
Labels (2)
1 Reply
Anonymous
Not applicable

Hi,
Try having a Var expresssion with 'String.format("%05d", yourinputfield); '