Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3889


Ignore:
Timestamp:
06/02/10 15:40:32 (14 years ago)
Author:
mkommend
Message:

changed CsvFileParser to use invariant culture (ticket #938)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/CsvFileParser.cs

    r3544 r3889  
    9797    private void TryParse(string fileName) {
    9898      Exception lastEx = null;
    99       NumberFormatInfo[] possibleFormats = new NumberFormatInfo[] { CultureInfo.CurrentCulture.NumberFormat };
     99      NumberFormatInfo[] possibleFormats = new NumberFormatInfo[] { CultureInfo.InvariantCulture.NumberFormat };
    100100      foreach (NumberFormatInfo numberFormat in possibleFormats) {
    101101        using (StreamReader reader = new StreamReader(fileName)) {
Note: See TracChangeset for help on using the changeset viewer.