I need to find out whether the difference between two 3 digit BCD numbers is less that 30. My project involves positioning using a GPS reciever. This problem involves basic subtraction, but I've tried it and it's not that basic. Would anyone have a bit of code just lying about there somewhere or could you point me in some direction which might help. Cheers, Ross.