Sheldon Brown's site details the measured course and correction by a percent method as suggested above. I go directly to this method. Use Google Maps or Mapquest etc. to measure out a course of a few miles, preferably as straight as possible. Ride it and correct the cyclocomputer accordingly.