Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Can anyone please help me.my requirement is
1.input data type is decimal.
11.0000---->11.0000
12.123----->12.123
0.000---->this value will not be loaded
0----->this value should not be load in target
I was tried but I get an error i.e cannot convert for int(0) to decimal.
can any one please provide the suggestion and soluton.
thanks
you can use below function to convert bigdecimal.
new BigDecimal(row1.string_column)
in your mapping just use int -> float which is a decimal
you can use below function to convert bigdecimal.
new BigDecimal(row1.string_column)
did it help you?
THANK YOU GUYS .
For sharing your knowledge.
Please give kudos and click Accept the solution which one is helped.