Return the percentage of a given value.