harrycheung / Mobile-App-Performance

Source for this
https://medium.com/@harrycheung/cross-platform-mobile-performance-testing-d0454f5cd4e9
GNU General Public License v3.0
90 stars 26 forks source link

C# code is using culture specific parsing for invariant data #16

Open marek-safar opened 8 years ago

marek-safar commented 8 years ago

Double values should be parsed using double.Parse(value, CultureInfo.InvariantCulture) instead. Otherwise it can fail on cultures with different decimal separator. It should speed up the code a bit as well.