TUPCEANReader.checkStandardUPCEANChecksum Method

Definition

Computes the UPC/EAN checksum on a string of digits, and reports whether the checksum is correct or not.

Delphi
function checkStandardUPCEANChecksum(const s: string): Boolean

Parameters

s
string

string of digits to check

Returns

Boolean

true iff string of digits passes the UPC/EAN checksum algorithm