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

feat(util): update formatNumber #377

Merged
merged 1 commit into from
Nov 23, 2023
Merged

feat(util): update formatNumber #377

merged 1 commit into from
Nov 23, 2023

Conversation

gh2049
Copy link
Contributor

@gh2049 gh2049 commented Nov 23, 2023

add test

原 formatNumber(1.89) => "1.8900000000000001"

更新后 formatNumber(1.89) => "1.89"

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@gh2049 gh2049 merged commit b99867e into master Nov 23, 2023
11 checks passed
@gh2049 gh2049 deleted the formatNumber branch November 23, 2023 03:03
growingio-bot pushed a commit that referenced this pull request Nov 27, 2023
# [2.5.0](v2.4.4...v2.5.0) (2023-11-27)

### Features

* update formatNumber ([#377](#377)) ([b99867e](b99867e))
@growingio-bot
Copy link
Collaborator

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants