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

我该如何保证获取数字的精度 #7846

Open
1 task done
workCleaner opened this issue Sep 19, 2024 · 0 comments
Open
1 task done

我该如何保证获取数字的精度 #7846

workCleaner opened this issue Sep 19, 2024 · 0 comments

Comments

@workCleaner
Copy link

workCleaner commented Sep 19, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.3

Environment

win10、127.0.6533.72(正式版本)(64 位)、vue2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

当获取表单内容、表单验证时获取一个带有数字精度的数字输入框。

What is expected?

正确的保留数字精度

What is actually happening?

获取的表单值会被处理掉数字精度


我想要知道如何处理这种问题。比如在获取到相应的值之后把对应的数字进行转换成字符串保留精度 还是其他的

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

No branches or pull requests

1 participant