Jump to content

Luhn test of credit card numbers: Difference between revisions

m
(→‎{{header|RPL}}: corrected major bug)
Line 3,922:
=={{header|langur}}==
{{trans|Go}}
<syntaxhighlight lang="langur">val .luhntest = ffn(.s) {
val .t = [0, 2, 4, 6, 8, 1, 3, 5, 7, 9]
val .numbers = s2n .s
890

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.