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
What is a class c#?
What is the extension of c# file?
How do I do implement a assert?
What does readonly mean in c#?
Define parsing? Explain how to parse a datetime string?
Are classes passed by reference in c#?
What is reference c#?
What is an xsd file?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
What are the basics of c#?
What is the advantage of generics in c#?
What is the meaning of console writeline in c#?
What is trim in c#?
What is firstordefault c#?
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?