text to double c# code example Example: convert string to double c# Console.WriteLine(Convert.ToDouble("104.1169"));