I apologize if this has already been covered.
I have an input file that can contain negative pricing amounts and am using a select tool to set the data type and size for the field. It is set to Type = Double.
The following conversion errors are received. The workflow has a Cleansing tool before and does the following:
1. Replace NULLS with Blanks (String Fields)
2. Replace NULLS with zeroes (Numeric Fields)
3. Remove Leading and Trailing Whitespace.
I'm not sure why i'm getting these errors? Has anyone ever dealt with this issue? Any ideas on how to clear it?
| ConvError: Select (9): PRICINGAMOUNT: 2500.00- lost information in translation |
| ConvError: Select (9): PERCENTAGE: 0.0000 lost information in translation |
| ConvError: Select (9): PRICINGAMOUNT: 0.00 lost information in translation |
| ConvError: Select (9): PERCENTAGE: 100.0000 lost information in translation |
| ConvError: Select (9): PRICINGAMOUNT: 42500.00- lost information in translation |
| ConvError: Select (9): SURCHARGERATE: 62500.00- lost information in translation |
| ConvError: Select (9): PERCENTAGE: 100.0000- lost information in translation |
The second issue happening is that the double data type is loosing the negative value. How can i keep the -42500 as the field value?
Thank you in advance for your help. I am so appreciative!