How to display value as percentage in the table?

How to display value as percentage in the table?

hong_seongweon
Enthusiast Enthusiast
89 Views
3 Replies
Message 1 of 4

How to display value as percentage in the table?

hong_seongweon
Enthusiast
Enthusiast

How to display the value 0.703 as 70.30% in the table?

 

hong_seongweon_0-1757000897438.png

 

0 Likes
Accepted solutions (1)
90 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Enthusiast
Enthusiast

When setting up a Statistics Collector you specify the data type and format for each column. "Object" would be used when you use the expression "StatisticsCollector.getID()" to generate a unique ID for an object. Date/Time interprets the number as a datetime value (seconds since 01.01.1601) and would typically be used for the x-axis of a time plot.

moehlmann_fe_0-1757054170635.png

 

0 Likes
Message 3 of 4

hong_seongweon
Enthusiast
Enthusiast

Thank you for your response.
However, I didn't express my question clearly.
I wanted to ask how to display numbers as percentages in the Global Table.

0 Likes
Message 4 of 4

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

Apart from converting the number to a string and writing that to the global table, this is not possible as far as I know. A global table only displays the raw values.

double num;
string percentString = string.fromNum(num*100, 2) + "%";

  

0 Likes