|
-
Oct 16th, 2006, 03:28 PM
#1
Thread Starter
Junior Member
[RESOLVED] [2005] Formatting numbers
I would like to know if there is a formatting type for formatting numbers that will display the number in a label with commas to the left of the decimal, and show the digits to the right of the decimal without zeroes at the end. I didn't find what i am looking for on msdn, and am wondering whether or not i am out of luck, or if there actually is a way of doing it.
Example: 1234.56789
ideally, i would like the number to be displayed in the label as: 1,234.56789
the only thing i found was format number, but it shows 0's at the end of the number up until whatever number of digits you tell it to round to.
so if i were to tell it to round to 7 digits, it would give me 1,234.5678900, which i do not want.
Thanks
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
|