Skip to content

formatCount

function formatCount(n, locale?): string;

Defined in: src/ui/format.ts:115

A whole number with grouping (12,345); rounds fractions.

Parameter Type Default value
n number | null | undefined undefined
locale? string "en-US"

string