-
-
Notifications
You must be signed in to change notification settings - Fork 53.9k
Closed
react-component/input-number
#279Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
以色列等国家的负数格式显示为:-x.xxx.xxx,xxx
也就是千分位分隔符为 ., 小数点为: ,
当输入值为 -88888888888.88 应该格式化为: -88.888.888.888,88 ,但实体上显示为: -88,888.888.888,88
格式化正则表达式为:/\B(?=(\d{3}) (?!\d))/g
What is expected?
当输入值为 -88888888888.88 应该格式化为: -88.888.888.888,88
What is actually happening?
实际上显示的为: -88,888.888.888,88
| Environment | Info |
|---|---|
| antd | 4.8.6 |
| React | 16.14.0 |
| System | window 10 |
| Browser | chrome 87 |
Metadata
Metadata
Assignees
Labels
No labels