Convert types for data values