Skip to content

Conversation

WilliamSampaio
Copy link

Hello,

When using the format_percent function, I noticed that the percentage value always rounded to an integer. That's why I set out to improve it.

I added another parameter that determines whether or not the result should be rounded.

This parameter already exists in the format_percent function of babel.numbers, so I just made the call.

grateful!

When using the format_percent function, I noticed that the percentage value always rounded to an integer. That's why I set out to improve it. :)
@WilliamSampaio WilliamSampaio changed the base branch from master to dev October 4, 2023 08:13
@WilliamSampaio WilliamSampaio changed the base branch from dev to master October 4, 2023 08:16
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