Probability to Friendly String

Make probabilities more intuitive by converting them to odds!

Examples

72.3%=>
97.2%=>
Try it below!
%=>, or

Languages

Available in Javascript, Python, C#, Java, Ruby, Rust, LabVIEW NXG, and PHP from the GitHub page.

About

This project was inspired by FiveThirtyEight's 2018 house forecast, where they use this friendlier way of showing probabilities. I decided to reverse-engineer the algorithm they used and make it easily available to incorporate in other visualizations, etc.

Fork me on GitHub