question

Stan Davis avatar image
1 Like"
Stan Davis asked Stan Davis commented

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

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

FlexSim 16.2.0
statisticsvisual tool
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Stan Davis commented

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

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Stan Davis avatar image Stan Davis commented ·

Thank you!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.