HELP with rounding decimals!!
I am doing a rating survey and when the cobination is 1,1,2,2,1,1 the answer is 1.33333
I cannot for the life of me execute a script that will just let it be 1.33
This is what I have entered, what am I doing wrong???
The value is called 's3_result'
var s3_result = window.cpAPIInterface.getVariableValue("s3_result");
var1_decimal = Math.round("s3_result"*100)/100;
window.cpAPIInterface.setVariableValue("s3_result",var1_decimal);
