I fixed issues with the formatting function and added locale so that the system decimal is correct.
Also added a property to specify number of decimal places.
I found that this script was not saving the decimals from the settings. Upon investigation I found that I was saving the numbers as int's and not doubles. I have fixed this and now the decimal places will be preserved when saving.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.