If you're not sure about how many decimals there could be, use this code:
numbervar x := {number_field};
strreverse(totext(tonumber(strreverse(split(totext(x,6),'.')[2])),'#')); //This takes into account upto 6 decimal places.
-Abhilash
If you're not sure about how many decimals there could be, use this code:
numbervar x := {number_field};
strreverse(totext(tonumber(strreverse(split(totext(x,6),'.')[2])),'#')); //This takes into account upto 6 decimal places.
-Abhilash