mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02:00
10 lines
220 B
TypeScript
10 lines
220 B
TypeScript
/**
|
|
* The `formatNumber` utility localizes a number into a string with the
|
|
* appropriate punctuation.
|
|
*
|
|
* @example
|
|
* formatNumber(1234);
|
|
* // 1,234
|
|
*/
|
|
export default function formatNumber(number: number): string;
|