Comparing 2 double values using groovy in EPBCS
Need to compare grid values which are "double" data type using groovy
Encountering a small hurdle in groovy. I have 2 values which are being retrieved from a grid.
Let us consider,
When I am using .getClass(), in job console, I am seeing that data types are class "java.lang.Double".
Here, I need to compare if
current_grid_data < =other_grid_data
or current_grid_data > other_grid_data
Whenever I am using operators, encountering the following error:
Your ideas can help a lot. Thank you so much in advance!