• Beware of double.Parse()

    Some svn up ago, Monodevelop started to throw strange exceptions at my face about Format error occuring when parsing a string with double.Parse(). This was triggered in various places ranging from startup, project opening, file opening or application unloading. At the time I hadn't bothered tracking down the issue but last Monday I decided to investigate it. Turned out that double.Parse was throwing a FormatException about '.' (like in "12.68") which was considered unknown.

  • Let's start the summer fun \o/