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
It is possible to change
if (typeof(latitude) === 'number' || typeof(longitude) === 'number') { throw new Error('string notation required for auto precision.'); }
To something like
if (typeof(latitude) === 'number') { latitude = parseFloat(latitude).toString(); } if (typeof(longitude) === 'number') { longitude = parseFloat(longitude).toString(); }
or direct enforce input.toString(), without checks or parseFloats.
input.toString()
The text was updated successfully, but these errors were encountered:
I'm not sure if parseFloat returns correct precision as user want. Explicitly disable this indecisive behavior is preferred.
Sorry, something went wrong.
can you show an example? I not see the problem...
No branches or pull requests
It is possible to change
To something like
or direct enforce
input.toString()
, without checks or parseFloats.The text was updated successfully, but these errors were encountered: