I been trying to use rounding and Abs value for number variables. For some it's been giving me errow message. What am I doing wrong?
ex)
var aValue = 20;
var bValue = 21;
var myValue = aValue / bValue * 100; //Should be 95.238095238..
myValue = round(myValue); //should be 95
Thanks,
Billy
ex)
var aValue = 20;
var bValue = 21;
var myValue = aValue / bValue * 100; //Should be 95.238095238..
myValue = round(myValue); //should be 95
Thanks,
Billy
Comment