Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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)