Fixed a bug where prices under 1.00 would not get calculated. 

Integer was used instead of Double for prices.

Amount in database changed from Int to Float.