How to compare value of BigDecimal with a integer in tMap
Hello,
Please teach me!
What i wanna do is following.
When creating comparison sentence in Expression Builder
for compare both values.
Then this error has occur and displayed massage like
it is different type of value that Bigdecimal and Integer.
comparison sentence i wrote is following.
/row1.amount != 0
row1.amount is Bigdecimal.
How can I compare these values?
Thanks!
Regards,
Hi,
I don't know what you exactly want to do, but you can also write like below...
row1.amount != BigDecimal.valueOf(0)
So, if you use it in expression builder, you probably would like to make a logical comprasion. for that;
row1.amount != BigDecimal.valueOf(0) ? do x : do y