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

feat(input-number): input-number support enableRound #4536

Conversation

zhangpaopao0609
Copy link
Collaborator

@zhangpaopao0609 zhangpaopao0609 commented Sep 5, 2024

🤔 这个 PR 的性质是?

  • 新特性提交

🔗 相关 Issue

#4499

💡 需求背景和解决方案

  1. feature
    decimalPlaces supports flexible configuration of rounding strategies

  2. proposal

decimalPlaces supports two types:

  • decimalPlaces: number
  • decimalPlaces: { enableRound: boolean, places: number }

📝 更新日志

  • feat(InputNumber): decimalPlaces 类型扩展,支持灵活的进位配置

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

github-actions bot commented Sep 5, 2024

完成

@zhangpaopao0609
Copy link
Collaborator Author

写到这里有一个疑问,那就是为什么要分大数和非大数呢?

@uyarn
Copy link
Collaborator

uyarn commented Sep 6, 2024

写到这里有一个疑问,那就是为什么要分大数和非大数呢?

javascript的锅

@uyarn
Copy link
Collaborator

uyarn commented Sep 9, 2024

/resolve-conflict

@uyarn uyarn merged commit 4b3e162 into Tencent:develop Sep 10, 2024
6 checks passed
@uyarn uyarn mentioned this pull request Sep 10, 2024
16 tasks
@github-actions github-actions bot mentioned this pull request Sep 10, 2024
16 tasks
@zhangpaopao0609
Copy link
Collaborator Author

写到这里有一个疑问,那就是为什么要分大数和非大数呢?

javascript的锅

我的意思是完全可以都用大数的方式来解决呗

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