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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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)