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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

job

Hello All,

 

Can anyone please help me.my requirement is

 

1.input data type is decimal.

11.0000---->11.0000

12.123----->12.123

0.000---->this value will not be loaded

0----->this value should not be load in target

 

I was tried but I get an error i.e cannot convert for int(0) to decimal.

can any one please provide the suggestion and soluton.

thanks

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

you can use below function to convert bigdecimal.

 

new BigDecimal(row1.string_column)

View solution in original post

5 Replies
Jesperrekuh
Specialist
Specialist

in your mapping just use int -> float which is a decimal

manodwhb
Champion II
Champion II

you can use below function to convert bigdecimal.

 

new BigDecimal(row1.string_column)
manodwhb
Champion II
Champion II

did it help you?

Anonymous
Not applicable
Author

THANK YOU GUYS .

For sharing your knowledge.

manodwhb
Champion II
Champion II

Please give kudos and click Accept the solution which one is helped.