While the function regarding single items works perfectly well, there must be some typo when working on stacked items.
As you can see, the 200 bravery capes (that i previously put at a price of 998k, which means 4.990 each) gets multiplied x200 as a string instead of as an integer, giving me...