Welcome To Snipplr


Everyone's Recent Snippets Tagged validation



1 2 3 4 5 6 Next »
Uses the Luhn formula to quickly validate a credit card. Basically all the digits except for the last one are summed together and the output is a single digit (0 to 9). This digit is compared with the last digit ensure a proper credit card number is...
2 1038 posted 18 years ago by savageideas
1 2 3 4 5 6 Next »