|
-
Jun 16th, 2010, 07:29 AM
#1
Thread Starter
Fanatic Member
Formatting Numbers to Display A Certain Way in Labels
I would like to know how to code a number that ends with "000000" and display that particular number in a label as "# MIL".
Like, say, if I had to enter in a text box the number 56000000, then instead of displaying the number as "56000000" in the label, it should display as "56 MIL" (MIL meaning million).
Also, for numbers higher than 9999 but lower than 1000000, the number should display a comma to distinguish the thousands. How do I do this, along with the "MIL" scenario?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|