Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
1234567891011import {type I18n} from '@lingui/core'
export const formatCount = (i18n: I18n, num: number) => { return i18n.number(num, { notation: 'compact', maximumFractionDigits: 1, // @ts-expect-error - roundingMode not in the types roundingMode: 'trunc', })}