apportionment

Round a set of numbers while maintaining its sum http://hub.darcs.net/thielema/apportionment

Version on this page:0.0.0.3
LTS Haskell 12.22:0.0.0.3
Stackage Nightly 2018-12-10:0.0.0.3
Latest on Hackage:0.0.0.3

See all snapshots apportionment appears in

BSD3 licensed by Henning Thielemann
Maintained by haskell@henning-thielemann.de

Module documentation for 0.0.0.3

Round a set of numbers while maintaining its sum. According procedures are used to assign seats to parties in a parliament. You may also use it to round percentages that sum up to 100%. https://en.wikipedia.org/wiki/Apportionment_(politics)

Depends on 3 packages:
Used by 1 package:
comments powered byDisqus