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