Subject:Sum with leading zeros Author:Miranda Newman Date:11 Jan 2007 10:02 AM
Hi everyone - I'm new to the board and to XSLT, so please bear with me. This may be an easy solution, but I haven't been able to figure it out. On a form users will enter a number value of seven characters long that could start with several zeros. I want to take this number value and increase it in an increment of '1'. However, when I try to use the 'Sum' and add +1 it is removing the leading zeros. Is there anyway to take the numeric value entered by the user and add 1 and keep the leading zeros? If the answer is 0000001 I want my calculation to be 0000002, however currently it is just returning 2. If you can offer me any help, I would greatly appreciate it.