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
What are the differences between events and delegates in c#?
What is the difference between writeline and write in c#?
What is the difference between array and arraylist c#?
What is hash c#?
What is type system in c#?
What is dynamic in c#?
Does c# support const methods, properties, or events?
What language is c# similar to?
What is difference between singleton and static class in c#?
What is difference between variable and property in c#?
What is uint c#?
What is yield keyword?
How does the lifecycle of Windows services differ from Standard EXE?
What is difference between array and collection?
Explain Constructor and destructor?