change function getPercentageFormat