Closed JakobMadsenICP closed 5 years ago
You're welcome to submit a Pull Request. I think the issue is the ToString() call here that translates from primitives to strings: https://github.com/MikeStall/DataTable/blob/master/Sources/DataAccess/Utility.cs#L207
It doesn't take any culture info and so picks up the default. Perhaps just modifying this to always use en-US?
Saving a CSV on my system gives:
This is because I use a Danish cultureinfo. It uses "," as a decimal separator. I use the following code to save it in an en-US culture.
Is there a nicer way to handle this? Suggestion: dt.SaveCSV(saveFileName,new CultureInfo("en-US"))