Largest-remainder apportionment: splits counts into whole percents (or any integer total) that add up exactly, with an explicit tie-break mode, an optional denominator and an optional keep-non-zero floor.
npx shadcn@latest add @zyeon/apportionZyeon UI limits how often it can be asked, and apportion hasn't had its turn. Its source will show here once it has.