Calculate Value From Percentage In Java