- Timestamp:
- 04/27/10 15:46:38 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/CsvFileParser.cs
r3373 r3544 97 97 private void TryParse(string fileName) { 98 98 Exception lastEx = null; 99 NumberFormatInfo[] possibleFormats = new NumberFormatInfo[] { NumberFormatInfo.InvariantInfo};99 NumberFormatInfo[] possibleFormats = new NumberFormatInfo[] { CultureInfo.CurrentCulture.NumberFormat }; 100 100 foreach (NumberFormatInfo numberFormat in possibleFormats) { 101 101 using (StreamReader reader = new StreamReader(fileName)) {
Note: See TracChangeset
for help on using the changeset viewer.