CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Location
    United Kingdom
    Posts
    6

    Number formatting

    Hi,

    I have a ASP.NET project displaying some data tabular format. I want to display the currency figures with thousand separator (100,123). Is there some simple method to achieve this? like some class in the style sheet or something similar.

    Thanks a lot

    Santosh N. Mahale

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    Dim d As Double
    d = 3539883.99
    MsgBox(d.ToString("C"))

  3. #3
    Join Date
    May 2001
    Location
    United Kingdom
    Posts
    6
    splendid!!! Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured