Can't figure out how to do this --

mynumber = byte
mynumber = 120


LCDOUT $FE,1,DEC mynumber

also tried --

LCDOUT $FE,1,#mynumber

Problem is that whenever I lower the number below 100 (I have 2 switches set up - and +), the LCD
will read 990 980 etc instead of 99, 98.

It's fine from 100 to 255.

Also, if I start mynumber with a value of say 90, if I remember right, it's ok UNTIL I move it past 100. Then when I try and lower it, it goes back to adding the zero 990, 980 etc.

I don't use pbp much anymore so I'm sure it's something simple. Thanks kindly for any help.