MOD10 results

Last Updated : Sep 08, 2012 |
Prolog information
The MOD10 function returns one of the following results.
Result
Description
0
The tested digits match the specified number of digits, which is specified in operand2 and passed the Modulus 10 algorithm.
1-9
The string, account number, or credit card number is complete but not valid.
#
A # character is returned due to any of the following reasons:
  • For string length checks, if the string does not match the specified number of digits.
  • For account number, membership number, or credit card number validations, the received number in operand1 does not match the number of digits specified by operand2.
  • There is an invalid combination of entries in either operand. For example, you directly or indirectly used either none or # in either operand.
  • The result is something other than a digit string in either operand or there are more than two digits in operand2.