Decile and Percentile Calculation

I was Trying to Find Out the calculation of Decile And Percentile, so how to i calculate these ?

Here are some resources.