In Statistics the term variable is used, only if the changing characteristics can be numerically measured. The heights and weights of individuals are variables, as they can be measured in numerical terms. Prices of commodities vary in time and scope and they can be numerically measured, so the price is variable.
1. Continuous variable:
It can take all values in a given range for example, heights and weights of individuals, prices of commodities income o individuals may be treated as continuous variable.
2. Discrete variables:
If the variables can only some particular value like whole numbers, it is called as discrete variable for example number of students in different classes on different schools or the size of the households.