Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Paknanarn23
Creator II
Creator II

convert from text to number

I want to convert a Text value to a Number value and be able to calculate the converted value

Paknanarn23_0-1678763951378.png

 

2 Replies
MayilVahanan

Hi

Try like below

Num(Num#(urfield, '#,##0;#,##0-'), '#,##0;-#,##0') as urfield

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
mominh_uzaifa
Contributor II
Contributor II

Hello

Try This

if(FindOneOf(FieldName,'-'),'-'&Replace(FieldName,'-',''),Num(Num#(FieldName,'##########0.00'),'##,##,#0.00')) as  FieldName

Thanks & Regards,

Huzaifa Momin