Round-Percentages
Round percentages that add up to 100, such that the rounded percentages also add up to 100 using the largest remainder method.
Installation
To install run
pip install round-percentages
Example usage
import round_percentages
round_percentages([13.626332, 47.989636, 9.596008, 28.788024])
output: [14, 48, 9, 29]
Release files for round-percentages 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| round-percentages-1.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| round_percentages-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / round-percentages-1.0.tar.gz
| Download URL | round-percentages-1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39ca3bb4efcd148b0febf9f4a30bb30bc529a36f30a4d8761b4673328ee36fc5
|
|
BLAKE2b-256 checksum How to use checksums |
5ae371df956e87544976ca287dc7e82253e651056625691617f7f1c1e5c03a1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|
Release files / round_percentages-1.0-py3-none-any.whl
| Download URL | round_percentages-1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0609212acdd178548a4b3b31abe2957a7efb148dd9d7d75234f7fc940dcdc9fb
|
|
BLAKE2b-256 checksum How to use checksums |
92c28d3c270dc851ac82a39e2c885eda97762e4c914ce7cb0ea31bda642bd08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.2
|