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 / esarmca65
For win forms .....
private void button1_Click(object sender, EventArgs e)
{
string s = textBox1.Text;
textBox2.Text = string.Format("{0:c}",
Convert.ToInt32(s));
}
Input: 65536
Out Put:$65,536.00
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How can I get the ascii code for a character in c#?
What is native image generator (ngen.exe)?
How do you achieve polymorphism in c#?
What is the use of delegate?
What is parallel foreach c#?
What does type safety mean?
Can we have only “try” block without “catch” block in c#?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
Explain how to use an extender provider in the project.
Can you store strings in arrays?
What is the data type for bit in c#?
Define boxing and unboxing in c#?
What is xml serialization in c#?
Is arraylist type safe in c#?
When a switch is said to be congested?