Newer
Older
alert / js / node_modules / flarum / common / utils / formatNumber.d.ts
@Réz István Réz István on 18 Nov 2021 220 bytes first commit
/**
 * 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;