Home Page Customer Care Services Order Now Search Contact Us Privacy Statement ChamberGates
Order Now Web Hosting Dedicated Servers Domain Name Registration Colocation Services Reseller Opportunities Web Design
Page Location
Home Page
Support
Web Development
atcValidate
CheckLuhn
CheckLuhn

Performs a Luhn check using the last digit as the check sum.

object.CheckLuhn(Number)

Arguments

object 
 Required. Always the name of a atcValidate Object
Number 
 Required. The number to check using the Luhn formula.

Remarks

The CheckLuhn method will check the given number to make sure that it passes the "Luhn" or the "MOD10" test using the last digit of the number as the checksum. It will return one of the following error values:

0No error, this is a number.
-1General validation error, see error description.

See Also

ValidateCCNumber

Copyright (c) 1999-2004 ChamberGates. All Rights Reserved.