Skip to content

Documentation v1.0.0


Documentation / @openassistant/utils / numericFormatter

Function: numericFormatter()

numericFormatter(value): string

Defined in: packages/utils/src/format.ts:9

Formats a number to a more human-readable format, using compact notation

Parameters

value

number

The number to format

Returns

string

The formatted number

Released under the MIT License.