PL/SL Help

To discuss Oracle Forms & Reports related technical issues.
Post Reply
murliram
Posts: 25
Joined: Wed Mar 28, 2007 5:49 am
Location: India

PL/SL Help

Post by murliram »

Hi All
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.
admin
Posts: 2062
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

Seems a class assignment? tks
murliram
Posts: 25
Joined: Wed Mar 28, 2007 5:49 am
Location: India

Post by murliram »

Can you please help me on this...It willl be a great help...
murliram
Posts: 25
Joined: Wed Mar 28, 2007 5:49 am
Location: India

Post by murliram »

Can anyone help me
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests