Comma's in PAC Display


#1

Hi all,

I would like to display a number on PAC Display that has 4 or more digits but with no comma. For instance: instead of 2,000 to display 2000.

Is there anyway to do this?


#2

In Configurator, go to ‘Configure’ > ‘Runtime Setup’. There should be a runtime option checkbox for formatting (or not formatting) value data with commas. Hope that helps!

Unless, of course, you were looking to format one specific value without commas and the rest with commas. Not sure I have any advice in that instance.


#3

If you only need to change one number, I have a subroutine that can handle the formatting and output a string the way you want it. Search the forum for sprintf. I can help you with the specifier parameter if you need it.


#4

Thanks for the help!