Attribute type conversion and print