How to add thousands separator on graphic values?

More
2 weeks 21 hours ago #80 by Automate
Is there a format string for GE values that separates thousands with commas?  I'm having to deal with some very large numbers on an Operator display.  One scheme is to divide by 1000 to use a period as a separator.  Another method is to build a custom class object script that iteratively or recursively formats a value to a string with inserted commas.  Is there a simple solution being overlooked?

/Ron





 

Please Log in or Create an account to join the conversation.

More
2 weeks 17 hours ago #81 by claes
Hi Ron,

You can use dynamic UnitConvert. UnitConvert.Entity = General, UnitConvert.DbUnit = 1:1 and UnitConvert.DisplayUnit = Kilo will divide by 1000.

/Claes
The following user(s) said Thank You: Automate

Please Log in or Create an account to join the conversation.

Time to create page: 0.366 seconds
Powered by Kunena Forum