If you add 30h to the low nybble you get ascii, . is seperate Kevin E. Dodd Embedded Systems Consulting 2601 NE Jack London #49 Corvallis, Oregon, 97330 kevindod@cyberhighway.net 541.753.3633 On Wednesday, June 18, 1997 7:30 AM, Dan Lloyd [SMTP:danl@GECMETERS.CO.UK] wrote: > Has anyone a tidy 'C' routine for converting a number value (int or float) > to ASCII so that a character corresponding to each digit can be obtained > [and output to a LCD display]. > > eg: 123456789.0 > > gives "123456789.0" as a string. > > I do not have sprintf or itoa available...... > > Regards, > > Dan. >