hexagon logo

Need to Round, Limit Characters in a Text Box

Hi everyone,

So I have a form with four edit boxes. The first three receive measurement values, and the last one is designed to take the average of those three values. The program then uses that average as the measurement for a dimension. The issue I'm having is that I'm getting some really long decimal answers at times. Sometimes it even gives me an answer in what appears to be a form of notation? I'll get 4.56666666666E-1 in the box. This type of answer does not allow the value to properly transfer into the allotted dimension. What I'd like to do is have that number be rounded or place a character limit on it. Does anyone have any idea how to do that for a PC-DMIS form?

Thanks so much, this is the last piece of a large puzzle.