Try something like this in a beanshell postprocessor:
double a= new Double((vars.get("adminfee")));
double b= new Double((vars.get("bbpfee")));
double x = (a+b);
vars.put("feeTotal",x)
print(a);
print(b);
print(x);
this would output the value to the variable ${feeTotal}
/(disclaimer: I am NOT a programmer)/
ZK
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Adding-two-numeric-variables-with-decimal-places-tp4977855p4978279.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]