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 issues with number formatting #5669

Merged
merged 2 commits into from
Feb 19, 2024
Merged

Fix issues with number formatting #5669

merged 2 commits into from
Feb 19, 2024

Conversation

ddb4github
Copy link
Contributor

alternately, we can use number_format because number_format_i18n does not support to remove thousands_separator

@TheWitness
Copy link
Member

Good workd @ddb4github

@TheWitness TheWitness merged commit 2975a92 into Cacti:1.2.x Feb 19, 2024
6 checks passed
@TheWitness
Copy link
Member

@ddb4github, can you also draft on for the develop branch? There was a fundamental file separation that makes cherry picking this impossible into develop.

@ddb4github ddb4github deleted the fixnum branch February 21, 2024 00:12
ddb4github added a commit to ddb4github/cacti that referenced this pull request Feb 21, 2024
…acti#5669)

* Show wrong number if value larger than 1000 and use __() + number_format_i18n
* Update CHANGELOG for PR#5669
@ddb4github
Copy link
Contributor Author

@ddb4github, can you also draft on for the develop branch? There was a fundamental file separation that makes cherry picking this impossible into develop.

Yes, related code is moved to support.php. PR#5674 is created

TheWitness pushed a commit that referenced this pull request Feb 21, 2024
…5669) (#5674)

* Show wrong number if value larger than 1000 and use __() + number_format_i18n
* Update CHANGELOG for PR#5669
@netniV netniV changed the title Show wrong number if use __() + number_format_i18n and value > 1000 Fix issues with number formatting Apr 28, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants