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
Can an array be null c#?
Define delay signing?
What does typeof return c#?
Is unboxing an implicit conversion?
What is assembly c#?
What is JIT (just in time)? how it works?
What is marshalling and what are different kinds of marshalling?
What is string method in c#?
Can we override interface method?
Which is executed if an exception has not occurred?
Can class inherit from struct c#?
What is session and cookies in c#?
Who benefits from ajax?
Is .net and c# the same?
What are the extension methods in c#?