verhoeff_calculate

verhoeff_calculate(number, as_list = FALSE)

Arguments

number

The vector of numbers you want a check digit for

as_list

Return the results as a list? Defaults to false

Value

Vector or list of check digits

Examples

verhoeff_calculate(1234)
#> [1] 0