brentvollebregt / price-per-unit

An Android app that helps you compare prices of similar products 💵 💰
Apache License 2.0
25 stars 2 forks source link

Price / Quantity Reversed? #12

Open GDeanG opened 3 years ago

GDeanG commented 3 years ago

Using the Pieces option I can only get the proper calculation if I reverse the price and quantity values.

brentvollebregt commented 3 years ago

Using Price=$3, Quantity=1 and Size Per Qty=6, I get 2pcs/$. Also using Price=$20, Quantity=4 and Size Per Qty=60 I get 12pcs/$.

This seems right to me?

s8wa2 commented 1 year ago

The price per unit (e.g. 0.27$/oz) is different from units per price (e.g. 5 pcs/$). When displayed as x pcs/$, it means x units per 1 dollar, also known as units per dollar. It would be better to have a toggle switch in the settings to switch to price per unit.