convert.todecimal in c# code example Example: convert string to decimal c# Click to copyDepositAmount = Convert.ToDecimal(u.DepositAmount)