accept floats as quantity (e.g. weights)