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


Please Help Members By Posting Answers For Below Questions

Can we override constructor in c#?

573


how dot net compiled code will become platform independent?

610


Can you store different types in an array in c#?

574


Can we assign null value to integer?

536


Is c sharp and c# are same?

588






Name some properties of array.

579


Does console.writeline() stop printing when it reaches a null character within a string?

606


How can I create image pieces/sub image?

569


What is field in c#?

550


Why do we use delegates in c#?

593


What is a decimal c#?

544


Which are access modifiers available in c#?

617


What is a void c#?

579


What are boxing and unboxing?

606


What is the difference between list and array in c#?

545