[FIX]use float_compare to check remaining qtys