599 B
599 B
zh-CN
通过 formatter
格式化数字,以展示具有具体含义的数据,往往需要配合 parser
一起使用。
这里有一个更复杂的货币格式化输入框:https://codesandbox.io/s/currency-wrapper-antd-input-3ynzo
en-US
Display value within it's situation with formatter
, and we usually use parser
at the same time.
Here is a Intl.NumberFormat InputNumber implementation: https://codesandbox.io/s/currency-wrapper-antd-input-3ynzo