Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
gfoo-009
Contributor
Contributor

Cannot invoke Doublevalue() on the primitive type int

Hi Everyone,

I am trying to convert "qty" (Integer type) to QuantityOnHand (Double type) in tMAp talend and

encountered error "Cannot invoke Doublevalue() on the primitive type int

0695b00000UvvSVAAZ.png

row8

0695b00000UvvSkAAJ.png

0695b00000UvvSzAAJ.png0695b00000UvvSuAAJ.png

Out

0695b00000UvvT4AAJ.png

Anyone got any ideas how this issue can be resolved ? Thanks.

The purpose is to use double field format of QuantityOnHand to update SF ProductItem.

Labels (5)
1 Solution

Accepted Solutions
gjeremy1617088143

Hi @gordon foo​ , use Double.valueOf(row8.qty) method instead.

Send me love and kudos

View solution in original post

2 Replies
gjeremy1617088143

Hi @gordon foo​ , use Double.valueOf(row8.qty) method instead.

Send me love and kudos

gfoo-009
Contributor
Contributor
Author

Thank you very much !! Double.valueOf(row8.qty) seemed to work perfectly!