Hi All


I am trying to pull all the odd and even numbers from right to Left.

The Number is 00 1 0072053 60 3716796.

Below is the logic that i am trying to achieve.


1.From the right to left, assign the odd/even position to each digit. Start with odd position.
2.Sum all digits in odd position and multiply the result by 3.
3.Sum all digits in even position.
4.Get the total for the two steps above and divide the result by 10.
5.The check digit is the number which adds the remainder to 10.


can anyone pleasehelp me to achieve this. I need to Deliver this.