Doubt on percentiles

It is mentioned that percentiles do not change on shifting and scaling of data but if the scaling is done by negative number the percentile would change.

Hi @surya.shanmukh,
I think scaling by a negative number doesn’t makes sense. We can shift the data by a negative number for sure though.
Can you please give an example for better understanding.

if we have a data like : [1,2,3,4,5] and we want to scale it by -1 so the data converts into :

[-1,-2,-3,-4,-5] and the 20 the percentile for first data is 1 but 20 the percentile for the converted data is -5