Brian Clewer wrote: > lets say the LONG is decimal 1024 and the user wants to change the > '2' to a '3'. Accounting for powers of 10, my routine adds the 2 > to the 3 instead of replacing it, so it becomes 1054. > > Is there any way to null that decimal character in the long > integer before you add the 3 (or 30 in this case)? Um, subtract 20? -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu