DEV Community

Discussion on: Credit card number check

Collapse
divyajyotiuk profile image
Divyajyoti Ukirde Author

It is used to distinguish valid numbers from mistyped or rather wrong numbers. The check digit is appended to the partial number to generate valid number.