Local attraction is an error that is caused either by the influence of magnetic disturbances around the place of work on the instrument such that it will show wrong results.
for example, magnet present in the calculator can also produce some variation in the needle of the compass while measuring the angle.