Convert to proper type for SerialNumber