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
Can we override constructor in c#?
how dot net compiled code will become platform independent?
Can you store different types in an array in c#?
Can we assign null value to integer?
Is c sharp and c# are same?
Name some properties of array.
Does console.writeline() stop printing when it reaches a null character within a string?
How can I create image pieces/sub image?
What is field in c#?
Why do we use delegates in c#?
What is a decimal c#?
Which are access modifiers available in c#?
What is a void c#?
What are boxing and unboxing?
What is the difference between list and array in c#?