(count: number)
| 24 | |
| 25 | // @techdebt : duplicated in ee and non-ee |
| 26 | export function formatCount(count: number) { |
| 27 | if (count >= 10_000) { |
| 28 | return compactNumberFormatter.format(count); |
| 29 | } |
| 30 | return standardNumberFormatter.format(count); |
| 31 | } |
| 32 | |
| 33 | // @techdebt : duplicated in ee and non-ee |
| 34 | export function formatUsageSharePercent(percent: number) { |
no outgoing calls
no test coverage detected