Why does the 'Display Object Stat' in Text Visual Tool only display integer values instead of real values?

Why does the 'Display Object Stat' in Text Visual Tool only display integer values instead of real values?

stan_e_davis
Advocate Advocate
7,929 Views
2 Replies
Message 1 of 3

Why does the 'Display Object Stat' in Text Visual Tool only display integer values instead of real values?

stan_e_davis
Advocate
Advocate

[ FlexSim 16.2.0 ]

When using the Text Visual Tool to display the Average Staytime, the value is being displayed as an integer instead of x.xx. I verified this occurs when performing Lesson 2 Extra Mile on page 149 in the FlexSim_16.2.0_manual

Accepted solutions (1)
7,930 Views
2 Replies
Replies (2)
Message 2 of 3

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

If you link into the source code, the command numtostring(num value) hasn't got any optional parameters. If you add those parameters numtostring(num value,0,2) you can see decimal values,too.

Manual numtostring

Message 3 of 3

stan_e_davis
Advocate
Advocate

Thank you!

0 Likes