Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How To Format the Decimal Number in RDLC as like "hi-IN"?

How To Format the Decimal Number in RDLC as like "hi-IN"?

Scheduled Pinned Locked Moved C#
tutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paramu1973
    wrote on last edited by
    #1

    Hi Iam using VS2010 Widows Applications. rdlc reports, reportviewer control. With my report, I have a textBox Value like the below =FormatNumber(First(Fields!inv_grand_total.Value, "DataSet1"),2) It's showing the output like 10,368,785.44 But I wish to have 1,03,68,785.44 Is it possible..? Thanks :thumbsup:

    F Richard DeemingR 2 Replies Last reply
    0
    • P Paramu1973

      Hi Iam using VS2010 Widows Applications. rdlc reports, reportviewer control. With my report, I have a textBox Value like the below =FormatNumber(First(Fields!inv_grand_total.Value, "DataSet1"),2) It's showing the output like 10,368,785.44 But I wish to have 1,03,68,785.44 Is it possible..? Thanks :thumbsup:

      F Offline
      F Offline
      Freak30
      wrote on last edited by
      #2

      You could try writing your own FormatProvider as in this example.

      The good thing about pessimism is, that you are always either right or pleasently surprised.

      1 Reply Last reply
      0
      • P Paramu1973

        Hi Iam using VS2010 Widows Applications. rdlc reports, reportviewer control. With my report, I have a textBox Value like the below =FormatNumber(First(Fields!inv_grand_total.Value, "DataSet1"),2) It's showing the output like 10,368,785.44 But I wish to have 1,03,68,785.44 Is it possible..? Thanks :thumbsup:

        Richard DeemingR Online
        Richard DeemingR Online
        Richard Deeming
        wrote on last edited by
        #3

        Try setting the Language property of your report to "hi-IN".


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups