vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

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

Open saitkycyk opened this issue 1 year ago • 2 comments

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/#...

saitkycyk avatar Apr 04 '24 05:04 saitkycyk

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

KaelWD avatar Apr 04 '24 06:04 KaelWD

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.

saitkycyk avatar Apr 04 '24 07:04 saitkycyk