handle integer and decimal attribute values