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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
abhi90
Creator II
Creator II

Convert String to Decimal and Error Handling

Hi All,

I want to convert Data of One of My Column which is holding Value like 7.13084E17. E is nothing but 0's. Value is like 7.13084000000000000.Now I have to Convert it to Decimal. In Output Table Column is in Number(30). Now I am converting it to Decimal Something Like This in variable Port o_row1.column.

Double.parseDouble(row1.column)==0?00683p000009MACJ.pngouble.parseDouble(row1.column). Now using this Same in tmap Pass and Fail Table as Var.o_row1.column>=-1.00(Pass) and Var.o_row1.column<=-1.00. But Compilation error is coming saying can't convert from Double to BigDecimal. My Pass Table of tmap o_row1.column is BigDecimal

@rhall@TRF@manodwhb@vboppudi@TRF

Labels (2)
13 Replies
abhi90
Creator II
Creator II
Author

@vboppudi,

Let me know if any details required. I am also trying

vboppudi
Partner - Creator III
Partner - Creator III

Hi Abhi,

 

Are you looking for this?

0683p000009Lwtl.png

Regards,

abhi90
Creator II
Creator II
Author

@vboppudi,

Yes in Database ValidData should go with E. But how did u managed to do this?

vboppudi
Partner - Creator III
Partner - Creator III

Use the following settings in tMap.

0683p000009Lwry.png

 

Regards,