powered by
Append a check digit to a value
AppendCheckDigit(x, method)
character vector of values requiring a check digit
a character value naming the check digit algorithm to use
character vector similar to x but with a check digit appended to each value
x
# NOT RUN { AppendCheckDigit("1234", "Verhoeff") # 12340 # }
Run the code above in your browser using DataLab