Calculates the next Luhn check digit for a given sequence.
sNumberToCheck is string = "120 027 016 0056"
cCheckDigit is character = LuhnCalculate(sNumberToCheck)
Info("The check digit is [%cCheckDigit%]")
Syntax
<Result> = LuhnCalculate(<Identifier>)
<Result>: Character string
Luhn check digit for the given sequence
<Identifier>: Character string
Sequence from which the Luhn digit will be determined. This sequence must be composed of numbers and spaces only (spaces are not relevant for the formula).
Business / UI classification: Neutral code