When calculating and manipulating probabilities in Java, and then expressing them as percentages, what is the best data structure to use to represent them?
The native double and float don't seem like particularly ideal candidates, since they have odd rounding issues which can introduce errors when the rounding happens multiple times and gets compounded.
BigInteger works well for calculating permutations and combinations, and BigDecimal seems like it might be a good candidate for the non-integer values, but is there something more suited to dealing with percentages already?
Note: In this case, the probabilities being calculated are similar in nature to those involving decks of cards, but with hundreds of cards. For the more math-inclined, I'm specifically working with Multivariate Hypergeometric_distributions.