Home |
Search |
Today's Posts |
#4
![]() |
|||
|
|||
![]()
On Mon, 8 Nov 2004 07:18:01 -0800, Viper5963
wrote: I am trying to subtract 1 from each position in my number, example position 1=0, position 2=9, position 3=7. 0-1 = -1, 9-1=8, 7-1=6. If the number in any positon is a zero(0), then I want the new number to become a 9, instead of a -1. I'm sorry I didn't make that clear in my first post. Just add 1000. Or, if the number of digits being subtracted can vary, add 10^numdigits --ron |