Functionsabbreviateabbreviate Callableabbreviate(count: number, digits?: number): stringAbbreviate a number to a shorter string@exampleabbreviate(123456789) => "123M"Parameterscount: numberThe number to abbreviateoptionaldigits: numberThe number of digits to keepReturns stringThe abbreviated string
Abbreviate a number to a shorter string