If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Can any one please provide some guidance on calculating a check digit. Basically the number(check digit) will be the remainder left from dividing my value by 7.
I need to calculate the last digit of the value and attach it to the value before saving that value.
so 7909020 would become 79090200 after division by attaching the remainder (0) at the end after dividing by 7. check-digit.png
I want to have a form with a field on it.
Here the user will enter the first 7 digits on the number.
Then I want to divide that number by 7 and get the remainder. This can be done when the user clicks a 'check' button.
The remainder will be attached at the end of the 7 digits.
This will help confirm that the digits entered are indeed correct.
Comment