Decode value