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

fix(input-number): scientific decimal notation #6789

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Sepush
Copy link
Collaborator

@Sepush Sepush commented Mar 3, 2025

对高精度小数的简单处理
例如:
number 类型的 0.0000001 经过 Number() tostring-applied-to-the-number-type 会被处理为 1e-7
为保持显示的 value 为 0.0000001 进行额外的 .toFixed 处理

Copy link

vercel bot commented Mar 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
naive-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 10:44am

@XueHua-s
Copy link
Contributor

Is it better to use BigInt to process?

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

Successfully merging this pull request may close these issues.

2 participants