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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cast string to number

Hi

I am trying to cast a string to number, the string is formated as this. 0000000000000234.

I am trying usign num function but doesn't work. I need to get the 234 only.

Thanks in advance

1 Solution

Accepted Solutions
chematos
Specialist II
Specialist II

Try this to discard zeros

replace(LTrim(Replace(Field, 0,' ')), ' ',0)

View solution in original post

1 Reply
chematos
Specialist II
Specialist II

Try this to discard zeros

replace(LTrim(Replace(Field, 0,' ')), ' ',0)