Where $(vValorPercentil) is an input field to calculate the percentile.
But now the customer wants to calculate what is the range percentile for this employee acording with his category, for example if the salary of this employee is 33.500 and the salaries of the rest of employees with the same category are 32.000, 48.500, 33.500, 40.000 the range percentile is 33,3.