To convert (VB version is not too different):
decimal myValue = decimal.Parse(nAmount);
To Display (There is a multitude of ways to do this.):
Building on the above.
this.Sometextbox.Text = myValue.ToString("#,##.00");
HTH
Richard
>Hello UT,
>
>I have a string and I would like to convert it to decimal with 2 decimal places :
>Is there a class to do this?.
>
>
>string nAmount = "400";
>
>
>I would like to convert it to decimal: 4.00
>
>Thanks,
>Sergio
State of Florida, DCF