[resolved] String to Double conversion failing

One Star

[resolved] String to Double conversion failing

I have a simple test job to read a delimited file with String data, convert the Strings to Double in a tMap, and display the results.
Why am I getting an exception on the tMap??
I expect it is a syntax error on my side, but I am not sure what the problem is.
Here are a couple of screen shots.

Accepted Solutions
One Star

Re: [resolved] String to Double conversion failing

I rebuilt this job and the problem has gone away.

All Replies
One Star

Re: [resolved] String to Double conversion failing

Screenshots:
Seventeen Stars

Re: [resolved] String to Double conversion failing

hi,
unfortunately I cannot read what's in your screenshoot but try and use those syntax :
Double.parseDouble(yourStringToConvert)

regards
laurent
One Star

Re: [resolved] String to Double conversion failing

Yes, that is the same syntax I am using, but I am getting an exception: Exception in component tMap_1
tMap expression:
Double.parseDouble(row1.Net_Sales)
What is happening?
One Star

Re: [resolved] String to Double conversion failing

I rebuilt this job and the problem has gone away.
Seventeen Stars

Re: [resolved] String to Double conversion failing

resolved ?? Smiley Happy
Set this topic as resolved so
regards
laurent