semvec/pypi-packages huggingface dataset:
round-percentages 1.0
Round percentages that add up to 100, such that the rounded percentages also add up to 100 using the largest remainder method.
License: MIT
Keywords: ROUND,PERCENTAGE

# Round-Percentages

Round percentages that add up to 100, such that the rounded percentages also add up to 100 using the [largest remainder method](https://en.wikipedia.org/wiki/Largest_remainder_method).

## Installation
To install run
```sh
pip install round-percentages
```

## Example usage
```
import round_percentages
round_percentages([13.626332, 47.989636, 9.596008, 28.788024])
output: [14, 48, 9, 29]
```