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

🐞 - tuiAmount should not show a negative sign when the value is zero #10127

Closed
Zheleznyak-F opened this issue Jan 9, 2025 · 2 comments · Fixed by #10147
Closed

🐞 - tuiAmount should not show a negative sign when the value is zero #10127

Zheleznyak-F opened this issue Jan 9, 2025 · 2 comments · Fixed by #10147
Assignees
Labels
community contribution This issue was closed by a PR from the community

Comments

@Zheleznyak-F
Copy link
Contributor

Reproduction url

https://stackblitz.com/edit/65qvljbj?file=src%2Fapp%2Fapp.template.html

Description

Wrong view of small negative number with decimal part e.g. "-0.83" displays like "-0". Negative sign must not be in rounded zero number

Also actual for 3.x version with tui-money component

Taiga UI version

3.x+

Browser Used

Chrome

OS Used

macOS

@Zheleznyak-F
Copy link
Contributor Author

Image

@vladimirpotekhin vladimirpotekhin added the contributions welcome Architecture is clear and community can help label Jan 9, 2025
@vladimirpotekhin vladimirpotekhin changed the title 🐞 - Problem with rounding tuiNumberFormat 🐞 - tuiAmount should not show a negative sign when the value is zero Jan 9, 2025
@rashiddok
Copy link
Contributor

I'll take it

@waterplea waterplea added community contribution This issue was closed by a PR from the community and removed contributions welcome Architecture is clear and community can help labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community contribution This issue was closed by a PR from the community
4 participants