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

[Bug Report][3.5.14] Progress linear value shows weird value #19539

Open
saitkycyk opened this issue Apr 4, 2024 · 2 comments
Open

[Bug Report][3.5.14] Progress linear value shows weird value #19539

saitkycyk opened this issue Apr 4, 2024 · 2 comments

Comments

@saitkycyk
Copy link

Environment

Vuetify Version: 3.5.14
Vue Version: 3.4.21
Browsers: Chrome 123.0.0.0
OS: Linux x86_64

Steps to reproduce

Using values as 28 or 29 puts many decimals at the end, the reproduction is available in the link.

Expected Behavior

Should show the values given.

Actual Behavior

Adds random decimals on some numbers.

Reproduction Link

https://play.vuetifyjs.com/#...

@KaelWD
Copy link
Member

KaelWD commented Apr 4, 2024

The values in the slot are normalised, you will get some floating-point inaccuracy if you try to display them as text.

@saitkycyk
Copy link
Author

The values in the slot are normalised, you will get some floating-point inaccuracy if you try to display them as text.

I used it as in the documentation of the component, just without "Math.ceil()". Thanks for the answer.

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

No branches or pull requests

2 participants