[BEP-695] Quantity can be a float as well.