Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display value to be rounded in a text box control
Message
From
09/06/1999 08:48:48
 
 
To
09/06/1999 03:24:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227785
Message ID:
00227820
Views:
16
>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.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform