Skip to content

Fix incorrect negative number formatting in formatStarsAmountText #1734

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HxShard
Copy link

@HxShard HxShard commented Apr 10, 2025

This commit addresses an issue in the formatStarsAmountText function where negative values were incorrectly formatted, resulting in outputs like -,127,380. The bug occurred because the negative sign from the original number was retained by the formatter, and no additional logic corrected its placement.

This commit addresses an issue in the formatStarsAmountText function where negative values were incorrectly formatted, resulting in outputs like -,127,380. The bug occurred because the negative sign from the original number was retained by the formatter, and no additional logic corrected its placement.
@HxShard
Copy link
Author

HxShard commented Apr 10, 2025

image

@ankushkushwaha
Copy link

Thanks for this PR, Could you please resolve conflicts with base branch? And also is this PR linked with any issue number?

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.

2 participants