Skip to content

Fix a precision bug of valueToString, prevent to give an error result… #1246

New issue

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

Merged
merged 4 commits into from
Dec 15, 2020

Conversation

sclei
Copy link
Contributor

@sclei sclei commented Dec 15, 2020

Fix a precision bug of valueToString, prevent to give an error result on input of wanted precision 0 and a double value which end of zero before decimal point ,such as 1230.01,12300.1;
Add test cases for double valueToString with precision 0;

… on input of wanted precision 0 and a double value which end of zero before decimal point ,such as 1230.01,12300.1;

Add test cases for double valueToString with precision 0;
@coveralls
Copy link

coveralls commented Dec 15, 2020

Coverage Status

Coverage increased (+0.04%) to 93.844% when pulling 9493a57 on sclei:fix_precision_0 into 8954092 on open-source-parsers:master.

@baylesj baylesj merged commit 9409824 into open-source-parsers:master Dec 15, 2020
@sclei sclei deleted the fix_precision_0 branch December 16, 2020 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants