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
code: var device_type = navigator.userAgent; var md = new MobileDetect(device_type); console.log(md.version("iPhone"))
The 2 decimal places after the version number are not separated
The text was updated successfully, but these errors were encountered:
this is how the "logic" is intented. Convert a version string to a single number. If you need something like SemVer, then consume the version string.
Sorry, something went wrong.
No branches or pull requests
code:
var device_type = navigator.userAgent;
var md = new MobileDetect(device_type);
console.log(md.version("iPhone"))
result: should 10.3.1 but 10.31
The 2 decimal places after the version number are not separated
The text was updated successfully, but these errors were encountered: