I'm trying to get the following to run in a Do JavaScript action:
var TestN = 100.1;
console.log(TestN);
eToolTest = math.round(TestN);
console.log(eToolTest);
It's failing due ot the math.round() method. I'm guessing I need to load up an extra js library to call the math object. If anybody knows how to do this I would be very grateful. I'm guessing this is much more of a JS question than a fake question. Sorry about that, I've done my best trying to find a solution on the net without luck.
Thanks,
Richard