CultureInfo VS Formats
----------------------
Key: LUCENENET-45
URL: https://issues.apache.org/jira/browse/LUCENENET-45
Project: Lucene.Net
Issue Type: Bug
Environment: .NET 2.0
Reporter: David Kallesen
Priority: Trivial
When using System.Single.Parse(value) we should thing on "." vs ",".
Example:
fms = (float) System.Single.Parse(fuzzySlop.image.Substring(1));
should be changes to something like:
fms = (float) System.Single.Parse(fuzzySlop.image.Substring(1), new
System.Globalization.CultureInfo("en-US"));
// David
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.