Added numeric data conversion for categories