how to convert string into decimal number c# code example Example: convert string to decimal c# DepositAmount = Convert.ToDecimal(u.DepositAmount)