question

Travis Hill avatar image
0 Likes"
Travis Hill asked Joerg Vogel commented

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

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.

FlexSim 7.7.4
format
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

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Joerg Vogel commented

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.

· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

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

1 Like 1 ·

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.