I am having a problem with a script using the printx util.
if (event.value == "") {
event.value = ""}
else {
event.value = util.printx(event.value + "'", event.value) ;}
The object of the script is to add an apostrophe to the end of number denoting feet.
The script works in all tested scenarios except with the number 29
When the value is 29 it displays 22’
Have I done something wrong? Do I need to create and use a variable in the script? Why does it work for every number that I have tried except 29?
Thanks,
Jerett
var sMPS2 = event.value.toString();
var sFoot = "'";
event.value = sMPS2 + sFoot;
Works fine. but would still lite advice on the printx script.