I m facing a problem that i want to display numbers greater then 256 and up to 99999 on LCD.i need some code help to understand it peace
What problem are you having?
By what means are you displaying numbers less than or equal to 256?
I'd guess the problem lies in understanding how to convert a multi-byte integer to the LCD format. It sounds like Omar can convert single bytes and display them.
If efficiency isn't a concern, the easiest thing to do is simply use a wider integer type -- 16 bits would hold five decimal digits, but to get to 99,999 you'll need a 32-bit long -- and either repeatedly divide by 10 (least significant digit first) or start with a divisor of 10,000 and divide the divisor by 10 on each pass (most significant digit first).
If the LCD takes ASCII input, just use sprintf().