#NEWLINE# def get_amount_by_packages( self , quantity ) : #NEWLINE# #INDENT# '\n        ' #NEWLINE# ( packing_unit , packing_unit_unit ) = self . get_packing_info ( ) #NEWLINE# packages = math . ceil ( ( quantity / packing_unit ) ) #NEWLINE# return ( packages * quantity )