Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have a scenario where Im using less than (<) operator and getting below error. Can you please help me how to handle this.
Logic I used in tmap:
row1.newColumn.subtract(row2.newColumn) < new BigDecimal(0) ? new BigDecimal(0) : row1.newColumn.subtract(row2.newColumn)
Below is the error:
The operator < is undefined for the argument type(s) java.math.BigDecimal, java.math.BigDecimal
Please help me how to handle this scenario.
Thanks
Thanks TRF. That worked.