Need Help with chance/probability of being picked

Hey. im trying to add probability of being picked to my itemdatatable. The data table is used to get a random item and put it in my loot array which i unsuccessfuly did however, i want it to account for the probability of it it being picked. Not sure if im over thinking this or just something i have yet to learn, any ideas?

If your item table has the drop chance in it, you could just generate a random float or int between 0 and 100, and if it’s greater than the chance value, drop the item.