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 do I use the 'using' keyword with multiple objects?
What is difference between constants and read-only?
What is assembly manifest?
What is func delegate in c#?
State two different types of access modifiers.
Where do I put dll files?
What is the purpose of reserved word using in c#?
How do you escape c#?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
When can a derived class override a base class member?
Is int reference type c#?
without modifying source code if we compile again, will it be generated MSIL again?
List the difference between the virtual method and the abstract method?
What is the purpose of c#?
Define strong name in c#?