Hi,
first solution:
You need to get the percentage itself of that value, then you substract that to the value itself.
value = 35
percentage to substract: 5%
5% of 35 is (35*0.05) = 1.75
the new value is (35-1.75) = 33.25
OR
you get the opposite percent ( what you want to keep)
you want to get 95% of the value ( 100%-5%), 1-0,5 = 0.95
the new value is (35*0.95) = 33.25
if your percent comes as "95" then you simply divide by "100"
35*95/100 = 33.25
Does that help?
bye,
Jean