I have a following requirement in Ilog Jrules,
Having an Integer field that contains both positive and negative numbers. Requirement is to loop through the Integer field, find and remove the negative sign in the negative numbers. It sounds simple but I could n't find a way to to this.
Any help or pointers would be highly appreciated. Many thanks.
I ve created the following function in BOM to XML mapping and passing all the incoming integer field values through this, which solved the problem.
if (integer < 0) return integer * -1; else return integer;