📜  react-number-format 允许浮点值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:40.633000             🧑  作者: Mango

代码示例1
{
  formattedValue: '$23,234,235.56', //value after applying formatting
  value: '23234235.56', //non formatted value as numeric string 23234235.56, if you are setting this value to state make sure to pass isNumericString prop to true
  floatValue: 23234235.56 //floating point representation. For big numbers it can have exponential syntax
}