moltin/cart — pull request #19 by jaimz22 (2014-08-25 14:56:17+00:00)
Title: Typecasting quantity to float

I think this is better than casting the quantity to an integer, because the quantity could be something like the weight of an item. Suppose your item is rocks, and someone wants to buy 1.5lbs of rocks... if you cast 1.5 to an integer you'll get 1. when cast to a float, you'll obviously receive the correct quantity of 1.5.