The value of a digit based on its position within a number