Mod1l(str)
str
Performs a Pad 11-based check digit calculation with the cycled weights 7, 9, 5, 3, 2, 4, 6, 8, starting at the end of the string. Weighted values are summed. A resulting 0 is replaced by a 5, and a resulting 10 is replaced by a 0.$total = "11234567";$chk = mod11($total);
OpenText StreamServe 5.6 | Updated: 2013-03-01 |