appendluhncheckdigit(
DIGITS
)
The appendluhncheckdigit( function adds a Luhn check digit to a series of digits.
Parameters
This function has one parameter:
digits – original digits.
Description
This function adds a Luhn check digit to a series of digits.
appendluhncheckdigit("4123-9876-452") ☞ 4123-9876-4529
See Also
- cardexpirevalidate( -- checks the validity of a credit card expiration date.
- cardtype( -- returns the credit card type (American Express, Visa, MasterCard or Discover).
- cardvalidate -- verifies that a number is a valid credit card number.
- cardvalidate( -- verifies that a number is a valid credit card number.
- obscuredigits( -- obscures digits in a number (usually a credit card number) with Xs.
History
10.0 | New | New in this version. |