mirumee / django-prices

Django fields for the prices module
158 stars 52 forks source link

It would be great to support * (multiplication with float) #37

Closed pcompassion closed 8 years ago

pcompassion commented 8 years ago

I'd like to do something like the following and it seems not being supported atm.

Price(3, currency) * 0.9

nvm

It looks like this is intended behavior and we need to do instead

Price(3, currency) * Decimal(0.9)

closing..