We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've noticed several times that the wrong card is highlighted when the card comes out as a whole number and the others are doubles.
See below for example.
At a glance this might have to do with the regex in the below where "." might need to be escaped.
public double GetNumericalValue(string str) { // Strip everything except numbers and dots var nstr = Regex.Replace(str, "[^0-9.]", ""); double dvalue = 0; try { dvalue = System.Xml.XmlConvert.ToDouble(nstr); } catch (Exception) { } return dvalue; }
The text was updated successfully, but these errors were encountered:
What happens is, every character except the allowed characters are stripped. The resulting numbers are: 76.768, 70.3458 and 1720
What I could do is, only take the part before a space and ignore the rest.
Sorry, something went wrong.
Added support with the latest release.
No branches or pull requests
I've noticed several times that the wrong card is highlighted when the card comes out as a whole number and the others are doubles.
See below for example.
At a glance this might have to do with the regex in the below where "." might need to be escaped.
The text was updated successfully, but these errors were encountered: