Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Formatting Decimals

Reply
Thread Tools

Re: Formatting Decimals

 
 
Kevin Spencer
Guest
Posts: n/a
 
      08-26-2003
DecimalValue.ToString("N")

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.

"C" <> wrote in message
news:0cdb01c36be1$5230a840$...
> Hi,
>
> I have an aspx with some labels.
>
> I set the text of these labels to be teh return value of
> some Functions that carry out some calculations.
> (My Functions return decimals)
>
> I want to format the value I write to my label so that it
> is transformed for example from 87123.13 to 87,123.13
>
> This probably quite simple but I am unsure.
>
> Any help or direction to online help much appreciated.
>
> Thanks,
> C.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
String Formatting Operations for decimals. Lacrima Python 1 04-01-2010 09:14 AM
String format, thousand separator and decimals hansiman ASP .Net 1 10-08-2004 07:29 PM
Formatting decimals with 2 digits - 3.70 vs 3.7000 ??? Todd ASP .Net Datagrid Control 1 11-25-2003 01:44 AM
asp.net text box for decimals Brent Burkart ASP .Net 1 11-12-2003 07:11 PM
Formatting Decimals Kerri ASP .Net 1 08-21-2003 07:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57