IMHO, you'd be better having a lookup table that specified the values and their corresponding meaning.