Question
Round Down and Round Up depending if numbers are negative or postive.
event.value = this.getField("X").value / (10); event.value = Math.floor(event.value);
I have this case of script but if "X" is negative i would like the script to change and round up instead of rounding down the result. I have no idea on how to do so, can someone help???
