MangoMangoDevelopment / neptune

BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Fix/invariant culture #3

Open Alkarex opened 6 years ago

Alkarex commented 6 years ago

Hello, Thanks for this nice software. Please consider this pull request, which is making explicit the use of CultureInfo.InvariantCulture in order to make this software run with all locales, also on non-US computers, e.g. for regional settings using , instead of . as a default decimal separator. Otherwise, functions such as Double.Parse() would fail. I think it is better to have some explicit code, without assumptions on higher-level configurations.