i want display a given number into Rupees Format
Like
Given number is : 156735
my Expected output is 1,56,735.
how to display?
Answer Posted / ambrish
Dim Number As Double = 156735.0
Dim info As System.Globalization.CultureInfo =
System.Globalization.CultureInfo.GetCultureInfo("hi-IN")
Dim str As String = Number.ToString("C2", info)
TextBox1.Text = str
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Which are the access modifiers available in c#?
How we can create an array with non-default values?
Is there any sample c# code for simple threading?
What is an ienumerable in c#?
What is the difference between a constant and a static readonly field?
What does console readkey do in c#?
How many digits is a 32 bit number?
What is a framework in c#?
What is parsing? How to parse a date time string?
Why do I get a "cs5001: does not have an entry point defined" error when compiling?
What is console writeline in c#?
What is native image generator (ngen.exe)?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
Explain about c# language.
List down the commonly used types of exceptions in .net