Skip to content

Fixing small bug in the formatPercent method #22082

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 1 commit into from
Apr 8, 2024

Conversation

snake14
Copy link
Contributor

@snake14 snake14 commented Apr 8, 2024

Description:

There was a small bug where the minimum fraction digits value provided is equal to 1. If the value was a whole number, it wouldn't append the .0. This PR fixes that.

Review

@snake14 snake14 added the Needs Review PRs that need a code review label Apr 8, 2024
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@sgiehl sgiehl added this to the 5.1.0 milestone Apr 8, 2024
@sgiehl sgiehl added the Bug For errors / faults / flaws / inconsistencies etc. label Apr 8, 2024
@sgiehl sgiehl merged commit 778ed4f into 5.x-dev Apr 8, 2024
@sgiehl sgiehl deleted the fix-format-percent-issue branch April 8, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Development

Successfully merging this pull request may close these issues.

2 participants