Returns the upper bound of a numeric value.
Example: TOP(CIG_DAY)=95, where CIG_DAY is equal to the range [0,95]