add double type attribute