Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to concatenate two big decimal columns and pass it onto target bigdecimal column but it gives me an error as
The operator + is undefined type(s)java.math.BigDecimal,java.math.Bigdecimal.
At the start, I have maintained the source columns as String and handled nulls using the code below to bigdecimal but to no avail:
(StringHandling.LEN(StringHandling.TRIM(StringHandling.EREPLACE(replaceNulls.column1,"\""," ")))) == 0 ? (BigDecimal)((DecimalFormat)globalMap.get("bdfmt")).parse("0.00") : (BigDecimal)((DecimalFormat)globalMap.get("bdfmt")).parse(StringHandling.EREPLACE(replaceNulls.column1,"\"","")) .