AnsweredAssumed Answered

Javascript function - Summing multiple numbers

Question asked by jasonarnold2721 on Oct 12, 2015
Latest reply on Oct 13, 2015 by jasonarnold2721
Created a script function with 6 inputs. I simply need to sum the inputs and output the total. I wrote the following javascript but it is concatonating the values instead. I dont care if this is in JS or groovy.

Thanks in advance!

TaxSummary = (XR1 + XR2 + XR3 + XR4 + XR5 + XR6 );