I'm trying to have a percentage be created from two numbers. Lets say we have two variables, need and have. Need is the amount of lets say bread you need to complete an achievement. Have is how much you have currently. Lets say you have 8 bread and you need 10 bread to complete the achievement. I would like to make the percentage print out as 80% I currently have Code: int iHave = config.getInt("Data." + player.getName() + ".Tasks.Task1.Collected"); int iNeed = config.getInt("Data." + player.getName() + ".Tasks.Task1.Need"); int percentage = iHave/iNeed; Code: im.setLore(Arrays.asList(percentage)); Currently prints out 0.