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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Big Decimal Error in TFileInputDelimited

Dear i try to laod a txt file with bigdecimal value like "-11368683772161603e-29".
I receive an error like this The constructor BigDecimal(BigDecimal) is undefined.
I try to load as string and convert to BigDecimal but same error.
regards
Marc
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Which version of talend are you using?
Check your code and see whether the big decimal class is imported. Check for Code : "import java.math.BigDecimal;"
Anonymous
Not applicable
Author

hi,
as the error said :
constructor BigDecimal(BigDecimal) is undefined.

you cannot a new BigDecimal 'object' with a bigDecimal as parameter ...
you already has a bigDecimal in entry.
regards
laurent
Anonymous
Not applicable
Author

Where do you try to convert to a BigDecimal. It looks like the tFileInputDelimited component did that already for you.