https://github.com/fmaclen/rule-of-three
A tiny direct proportion calculator for macOS
https://github.com/fmaclen/rule-of-three
Last synced: 6 months ago
JSON representation
A tiny direct proportion calculator for macOS
- Host: GitHub
- URL: https://github.com/fmaclen/rule-of-three
- Owner: fmaclen
- License: mit
- Created: 2020-10-28T16:42:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-18T14:18:35.000Z (over 2 years ago)
- Last Synced: 2025-03-16T23:42:34.030Z (over 1 year ago)
- Language: HTML
- Homepage: http://fernando.is
- Size: 953 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rule-of-three
**A tiny direct proportion calculator for macOS that runs in the tray bar.**

The rule of three is used to calculate the corresponding values proportionally.
It is also known as **Direct Proportion**, which means that any increase in the known values increases the unknown value at the same rate.
This _Direct Proportion_ or _Rule of three_ calculation uses the formula: `(y * b) / a = x`
### Example
Considering `2kg (a)` of flour is worth `$5 (b)`
What's the cost of `5kgs (y)` of flour at the same rate? `Answer = (x)`
`(5kg * $5) / 2kg = $12.5`
### History
Learn more about the **Rule of Three** (Cross-multiplication) on [Wikipedia](https://en.wikipedia.org/wiki/Cross-multiplication#Rule_of_Three)
### About this project
Just an excuse app to get familiarized with [Electron](https://www.electronjs.org/)