useNumberFormat
This hook contains and returns all methods and properties to be used to get formatted number. It accepts a value as param, that will be used as number to be formatted. The param could be a string, a number or undefined.
Example:
useNumberFormat()
// or
useNumberFormat('22,12')
// or
useNumberFormat(12)
Last updated