Profile
Achievement

savageideas's Recent Snippets
- All /
« Prev 1 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
1128
posted 18 years ago by savageideas