Skip to content
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

fix(rounding): check if the value is a float #58

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

KingMichaelPark
Copy link
Member

check the value is a float and if it is, convert it to a float then convert back to a string by rounding off the significant zeros to the expected amount.

+ref: #55

check the value is a float and if it is, convert it to a float
then convert back to a string by rounding off the significant
zeros to the expected amount.

+ref: #55
@KingMichaelPark KingMichaelPark merged commit 44afdd5 into master Jun 1, 2024
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the fix/rounding-error branch June 1, 2024 10:26
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.

1 participant