I've bought a C# book which teaches me to convert my input to a double like this:
When I enter something like 10.12 it gives me an error and accuses me for entering info of the wrong type.Code:
number = Convert.ToDouble(Console.ReadLine());
I use Visual C# 2005 Express. Any ideas?