Check accuracy of a number using a check digit

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Checks the accuracy of numbers such as credit card numbers etc that use the last digit as a check digit.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: