Modulus 10 check digit calculation function

Category:
Dates and Math
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
Modulus 10 was created for verifying account and credit card numbers. This function will generate a modulus 10 check digit number for an all numeric account number.

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

Declarations:

Code: