2015-04-11, 19:50
I dig a bit further, I think a better solution is to use an invariant conversion, so the nfo is not culture dependant:
instead of
What the best way to contribute, add an issue in bug tracker, send a patch, ...
Code:
pattern = ApplyPattern(pattern, "P", If(Not String.IsNullOrEmpty(f.Rating), String.Format("{0:0.0}", Double.Parse(f.Rating, Globalization.CultureInfo.InvariantCulture)), String.Empty))
Code:
pattern = ApplyPattern(pattern, "P", If(Not String.IsNullOrEmpty(f.Rating), String.Format("{0:0.0}", CDbl(f.Rating)), String.Empty))
What the best way to contribute, add an issue in bug tracker, send a patch, ...