This project has moved. For the latest updates, please go here.


MakeReadOnly field with numer removes comma


When making a field readonly and its the type numer (with 2 decimals) the comma is removed the result is
a number thats is 2,00 when readonly it is 200
Closed Mar 28, 2016 at 11:07 PM by KitMenke
Fixed in v0.13.0


KitMenke wrote Sep 29, 2014 at 1:29 AM

Brian, I do have code in the Number fields to remove commas since we use periods to separate the decimals. I will have to consider adding some sort of localization to SPUtility for this. Not quite sure what other differences there are with the other fields.

You could make a small update to the convertStringToNumber function and probably get it working.

KitMenke wrote Mar 28, 2016 at 11:06 PM

This should now be resolved. The separators for thousands and decimals is now customizable using the following methods:


Brian_O wrote Jun 27, 2016 at 8:23 AM

Hi KitMenke

Thanks it works great.
Went the whole way and used the new SPUtility.Setup