Luhn algorithm: Difference between revisions

Content deleted Content added
m Reverted edits by 197.54.159.108 (talk) (AV)
WINFOSOFT (talk | contribs)
Tags: Reverted Mobile edit Mobile web edit
Line 87:
=== Example for validating check digit ===
 
# Drop the check digit (last digit) of the number to validate. (e.g. 7992739871379927398714 -> 7992739871)
# Calculate the check digit (see above)
# Compare your result with the original check digit. If both numbers match, the result is valid. (e.g.<math>(givenCheckDigit = calculatedCheckDigit) \Leftrightarrow (isValidCheckDigit)</math>).