I'm trying to make the way I display time neater within Plant Sim.
I don't need to be able to display anything less than seconds so I'm trying to get rid of the .0000 on each of my time displays.
Is there a simple way to do this?
I believe I could write a method using omit but it won't remove the values I want at all points of the simulation as the position of the start of .0000 changes. Also I'd prefer to know if there's an alternative way as I have a lot of displays and removing the .0000 from all of them would be very time consuming.
Solved! Go to Solution.
you can also enter commands into the path field of the display, if you need e.g. only a second value from the procTime of a SingleProc object, you can enter into the path of the display:
freelance simulation specialist
Sorry, that's not the problem I'm having. I understand you can use funcitons within the path field of the display I just can't find one that will let me omit the part of the time I don't need.
To explain myself a little better:
I want to display the full time for example 21:01:30:10.0000
But I don't need the .0000 at the end I'd prefer it to be displayed as 21:01:30:10