This project has moved and is read-only. 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 29, 2016 at 12:07 AM by KitMenke
Fixed in v0.13.0


KitMenke wrote Sep 29, 2014 at 2: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 29, 2016 at 12:06 AM

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 9:23 AM

Hi KitMenke

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