Thanks for the quick reply.
I'm attempting to use this in a group, to create sub-total breaks and for sorting. The number that I'm converting is like '0010', '1000', '2000', '2001', but not all '1's belong to 'Department 1', etc.
for instance, the item's department may begin with a '0' or '1'...