# Item Page dedicated to runescape items and misc functions related to them. - - - ## Bank.Integer2Quantity ```pascal function TRSBank.Integer2Quantity(quantity: Integer): ERSItemQuantity; ``` Internal helper function to convert a integer quantity into a ERSItemQuantity. Example: ```pascal WriteLn Bank.Integer2Quantity(5); WriteLn Bank.Integer2Quantity(7); ``` - - - ## TRSItem.SimplifyName ```pascal function TRSItem.SimplifyName(): String; ``` Internal helper function to get a human like short item name, usually to search. Example: ```pascal item := 'Amulet of glory(6)'; WriteLn item.SimplifyName(); ``` - - - ## Item.GetStackBox ```pascal function TRSItem.GetStackBox(slot: TBox): TBox; static; ``` Returns the correct text box of an item's amount text based on the item box. - - - ## Item.ReadStack ```pascal function TRSItem.ReadStack(slot: TBox): Integer; static; ``` For use with items in like bankscreen, inventory, shops and so on to get the number of stacked items there are.