Andrew measured a line to be 12.2 inches long. If the actual length of the line is 12.7 inches, then what was the percent error of the measurement, to the nearest tenth of a percent?