mirumee / prices

Python price handling for humans.
Other
268 stars 39 forks source link

Allow division for Price #9

Open fayazkhan opened 9 years ago

fayazkhan commented 9 years ago

Price()/Decimal() seems to unsupported currently. Also, shouldn't Price()/Price() also work? Returning a Decimal?

Related to issue #2

patrys commented 9 years ago

Price divided by price is undefined as you have net and gross amounts. Division by decimal could be supported but seems of limited use.