I am performing an Arithmetic operation in my XPath Expression. In the below code, qty1 and qty2 are double, hence the result I get is double. I want to convert the result to an Integer and save it in a property. How can I achieve it in WSO2 Integration Studio?
<property name="RESULT_QTY" expression="($body/*[local-name()='Shipment']/*[local-name()='qty1'])-($body/*[local-name()='Shipment']/*[local-name()='qty2'])"/>