<div dir='auto'>How about store orig # as char str - then take chunks starting from left - do Mod of them but results stored as multiple of 10 based upon orig str pos - then I think U can add those sub results together. Just a quick thought off top of my head...<div dir="auto"><br></div><div dir="auto">-K-</div></div>