Accept floats as quantity (e.g. weights)

I'm making a web app to allow a chicken store's customers to order the chicken online. They also sell other uncountable stuff, like sausages, that need to be weighed. In other words they need to have a decimal as quantity.

You're free to merge this or not, I'll keep using this ;)