Normalize value for output