ant-design/components/input-number/demo/digit.md

8 lines
325 B
Markdown
Raw Normal View History

2016-08-18 15:59:07 +08:00
## zh-CN
2021-03-31 16:07:24 +08:00
通过 `stringMode` 开启高精度小数支持,`onChange` 事件将返回 string 类型。对于旧版浏览器,你需要 BigInt polyfill。
2016-08-18 15:59:07 +08:00
## en-US
Use `stringMode` to support high precision decimals support. `onChange` will return string value instead. You need polyfill of BigInt if browser not support.