== Situation ==
Many samples such as Neuro\Back Propagation\Approximation read a .csv file
and parse decimal numbers, which are formatted with a colon '.' as the
decimal separator.
== Problem ==
In the regional settings of many countries (e.g. most European countries,
Russia, South America...), a comma ',' is used as a decimal separator, and
not a colon '.'
In those countries, the samples parsing decimal numbers fail to load the
.csv file.
== Solution ==
Use for instance CultureInfo.InvariantCulture when parsing those numbers.
=== Code ===
using System.Globalization;
...
double.Parse( strs[0], CultureInfo.InvariantCulture );
Original issue reported on code.google.com by alexandre.alapetite on 17 Nov 2007 at 11:04
Original issue reported on code.google.com by
alexandre.alapetite
on 17 Nov 2007 at 11:04