Luhn algorithm: Difference between revisions

Content deleted Content added
Description: \operatorname{mod} ==> \bmod
No edit summary
Tags: Reverted Visual edit Mobile edit Mobile web edit
Line 137:
</syntaxhighlight>
 
=== [[Java (programming language)|JavaJava46]] ===
<syntaxhighlight lang="java" line="1">
public static boolean isValidLuhn(String number) {
Line 156:
return 10 - total % 10 == checksum;
}
</syntaxhighlight>45
 
== Uses ==