cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NumberFormatException: For input string: "- 10.00"

Former Member
0 Kudos

Hi,

I am having a problem in my scenario RFC to Oracle SP. One value is comming as 10.00- and I convert it to -10.00. But whe I do this my value gets - 10.00. with a space between - and 10.00. This causes a problem when inserting. It throws an exception.

Anybody know how I can solve this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

use a replaceAll function and repalce the space with an empty constant

Former Member
0 Kudos

It's like a joke. Before using replace string when I test the mapping via the test tab it doesn't generate a space (at least it seems so). But now I put the replace string and It worked :S

Thanks.

Answers (0)