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 super class in c#?
Why reflection is used in c#?
Explain synchronous and asynchronous operations?
What is the difference between internal and protected in c#?
What is dll hell, and how does .net solve it?
How do switch statements work?
Why do we need abstraction in c#?
How can I get the ascii code for a character in c#?
Can struct be static in c#?
Explain the types of Polymorphism.
Tell me the difference between call by value and call by reference.
What do you mean by generic class in c#?
what is the meaning of Object lifetime in OOPS
Is xml tags are case sensitive?
What is the purpose of the integer parse method the decimal parse method?