General information
Category:
Forms & Form designer
>>Hi there,
>>
>>Has anyone ever experienced this situation:
>>
>>I need to round the "display value" in a text box control, say, as a result of some calculation, I now have 123.4567 as the VALUE in the text box, but I have to display it as 123.46, i.e. rounded with 2 decimals. The problem is that I don't really want to change the value itself because I still need more than 2 decimals in further calculation.
>>
>>Any idea is very much appreciated.
>>
>>Best regards,
>>Abe
>I believe setting the .Format property to 999.99 will accomplish this.
>Paul M.
>Nil carborundum illegitimi.
I had tried both the "format" and "InputMask" property, neither worked. Any other ideas? Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only