Why Number property displays commas Pega 7.2.2 when made read-only?
I have a integer property (Document Number) displayed on the form. When the information is displayed in next screen as read-only field, it is displayed with commas (please see snapshot).
I tried using 'pxNumber' instead of integer and also tried changing the 'separators' from yes to no in pxNumber and also in the cell properties of the field. But it still is displayed with commas (formatted like currency, yet the format type is none in cell properties).
Is there a way to display it similar to how its entered , like with hyphens may be or just as a string of numbers?
I would suggest that if the Document # will have hyphens or something that it is considered a number. The solution might only changing the type of property if it is possible. That means delete the one you have, create it again but as text one and then try it again. This behavior might be because the hyphens aren't being recognized as numbers and that's maybe why it give you commas, like a big number on a calculator.
If by any chance you are pulling off some data with most of its characters are numbers but there is a single letter or special characters, I recommend you to create a string property, in order for you to not have so much issue converting from string to number and vice versa.
I hope this works for you. Let me know if get you solved.