I have following piece of code in my Progress application:
DEFINE VARIABLE IntField AS INTEGER INITIAL 1000000 VIEW-AS FILL-IN.
This shows the following (mind the thousand separator):
Does anybody know how I can avoid showing the thousand separator?
Thanks in advance
Answer, given by Mike Fechner:
Just add a FORMAT phrase like this here:
Edit
Although the mentioned answer is obviously correct, I also add here another line which means exactly the same:
The difference is the location of the
FORMAT ...
part: as you see in the first answer you might think that theFORMAT ...
part refers to theFILL-IN
(the GUI component, also known as widget), but in fact it refers to the variable.** Extra edit:**
One important remark: refrain from using ">>>...>" (only ">" characters) as an integer format specifier: in case the value is zero, an empty string is displayed in that case, while displaying "0" in such a case is more appropriate.