Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Calculates checksum for UPC barcodes.

Component Version macOS Windows Linux Server iOS SDK
Barcode 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Barcode.UPCChecksum"; Text )   More


Parameter Description Example
Text The text with the numbers for the barcode.
Do use text and not number, where starting zeros would be skipped.


The checksum as text.


Calculates checksum for UPC barcodes.


Calculates a checksum:

MBS( "Barcode.UPCChecksum"; "12345" )

Calculates 7 for the EAN 5901234123457:

MBS( "Barcode.UPCChecksum"; "590123412345" )

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 5th September 2019

Barcode.SetPrimary - Barcode.WriteFile