I am creating an Ignition program from an existing plc. I am reading in a float value. I want to show this value with no decimals and no comma if the value gets that high. I am using vision and have tried putting the value into a label expression. I am having no luck. The tag itself is a UDT tag and I have tried to change the format for this tag but it does not seem to be doing anything to change it.
Here is my UDT value along with the format expression set to 0 with no decimal points:
Here is my label expression where I am combining text and the value itself along with what I am seeing below:
I want it to show > 99, not > 99.0.
Side note on this, I have other values where I feel I will run into the same issue. Even with values coming in as float I want to show most of them with no decimal points. I was thinking I could get slick and add a UDT parameter where depending on the parameter value I can change what the format of the value will be. Anyone do something like this or have any other thoughts? Thanks