vote-infer
Infer actual number of votes based on the percentage of each voting options.
Usage Example
Giving percentage:
> npx vote-infer 71 38
Total 21 votes
#1 71% 15/21
#2 38% 8/21
Or giving rate:
> npx vote-infer 0.56 0.42
Total 36 votes
#1 56% 20/36
#2 42% 15/36
License
This project is licensed with BSD-2-Clause
This is free, libre, and open-source software. It comes down to four essential freedoms [ref]:
- The freedom to run the program as you wish, for any purpose
- The freedom to study how the program works, and change it so it does your computing as you wish
- The freedom to redistribute copies so you can help others
- The freedom to distribute copies of your modified versions to others