formatCompact
function formatCompact(n): string;Defined in: src/ui/format.ts:131
Compact number for tight spaces (950, 1.2K, 34K, 1.5M, 2B).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
n |
number | null | undefined |
Returns
Section titled “Returns”string