... this isn't quite right, so let's get a regex that rounds numbers up but pays attention to where the decimal point is:
v_Test3 = 12.000;
info v_Test3.toString().replaceAll("^(^-?\\d+\\.\\d*[1-9])(0+$)|(\\.0+$)", ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.