Hi Asad,
Depending on where your value is in the enumeration, you can either do:
parseInteger(getCaption($EnumVal1)) * parseInteger(getCaption($EnumVal2))
or
parseInteger(replaceAll(getKey($EnumVal1), ‘_’, ‘’)) * parseInteger(replaceAll(getKey($EnumVal2), ‘_’, ‘’))
I have this error while using second option