We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.15.11
3.2.0-beta.7
Chrome(92.0.4515.107)
Arch Linux x86_64
https://codesandbox.io/s/slider-float-number-precision-bug-q795g?file=/src/Demo.vue
set slider props :step="0.1" :min="0.1" :max="2" and Set the value to 0.7. or 1.2
:step="0.1" :min="0.1" :max="2"
slider组件参数为 :step="0.1" :min="0.1" :max="2" ,然后去设置滑块的值为0.7 或者 1.2
0.7 or 1.2
0.7000000000000001 1.2000000000000002
pull requests #750
The text was updated successfully, but these errors were encountered:
@07akioni same issue with input-number
step 0.01
Sorry, something went wrong.
@07akioni same issue with input-number step 0.01
Please open an issue for input number
Successfully merging a pull request may close this issue.
TuSimple/naive-ui version (版本)
2.15.11
Vue version (Vue 版本)
3.2.0-beta.7
Browser and its version (浏览器及其版本)
Chrome(92.0.4515.107)
System and its version (系统及其版本)
Arch Linux x86_64
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/slider-float-number-precision-bug-q795g?file=/src/Demo.vue
Reappearance steps (重现步骤)
set slider props
:step="0.1" :min="0.1" :max="2"
and Set the value to 0.7. or 1.2slider组件参数为
:step="0.1" :min="0.1" :max="2"
,然后去设置滑块的值为0.7 或者 1.2Expected results (期望的结果)
0.7 or 1.2
Actual results (实际的结果)
0.7000000000000001 1.2000000000000002
Remarks (补充说明)
pull requests #750
The text was updated successfully, but these errors were encountered: