convert string number to decimal C# code example Example: convert string to decimal c# var convertDecimal = Convert.ToDecimal(value);