Simplify a whole-number ratio and scale it to a target total.
On your device. No uploads or sign-in.