Can you format the dashboard edit control to display as an integer when linked to a label?

Can you format the dashboard edit control to display as an integer when linked to a label?

travis_hill
Not applicable
63 Views
2 Replies
Message 1 of 3

Can you format the dashboard edit control to display as an integer when linked to a label?

travis_hill
Not applicable

[ FlexSim 7.7.4 ]

I have a dashboard with a bunch of edit controls linked to labels. These labels represent integer values. I would like them to display as integer values in the dashboard. I know that I could change the labels over to global variables (set as integers), but that is not ideal.

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

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

It looks like the edit control is set up to change its precision if it's pointing at an integer global variable, like you said, but otherwise it just uses the precision you set in the model settings. So you could set the precision of your model to 0 and get what you're looking for, but then almost everything else in the model will also be affected.

As of now, it looks like the global variable route is the only viable one.



Matthew Gillespie
FlexSim Software Developer

Message 3 of 3

joerg_vogel_HsH
Mentor
Mentor

The other way would be to use strings. You convert the values to strings and in this you can define the precision.