title: Reading double from console
body: <p>How can I read double value for example 0.3 from Console? When I type something with .X like mentioned before 0.3 it throws Exception.</p>
  
  <p>So far I've tried something like that:</p>
  
  <pre><code>Console.WriteLine("Type x: ");
  double x = Convert.ToDouble(Console.ReadLine());
  </code></pre>