Contents - Index - Previous - Next


CalcISBNCheckDigit function

See also

Unit
EanKod

Declaration
function
CalcISBNCheckDigit(s: String): Char;

Description

It calculates the check sum for ISBN, ISSN and ISMN codes. The code must be 9 digits long( eventually also 2 or 5 add-on  digits.  It does not contain prefix(978,977 or 979). It can contain a format code then it can contain characters _, e.g. 123-456-789