Hello all!

I'm trying to display this:

Code:
speed   VAR   WORD
LCDOUT $FE,$8D, DEC speed, "km/h"
LCD results:

Let's say speed is increasing and then decresing:
Code:
  98km/h
  99km/h
100km/h
101km/h
100km/h
99km/hh  ----> THE PROBLEM
What is the 'secret' to solve this little problem?

Thanks..

Sylvio