Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Barcode.UPCChecksum
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
Parameters
Parameter | Description | Example |
---|---|---|
Text | The text with the numbers for the barcode. Do use text and not number, where starting zeros would be skipped. |
"12345" |
Result
The checksum as text.
Description
Calculates checksum for UPC barcodes.Examples
Calculates a checksum:
MBS( "Barcode.UPCChecksum"; "12345" )
Calculates 7 for the EAN 5901234123457:
MBS( "Barcode.UPCChecksum"; "590123412345" )
See also
Release notes
- Version 9.4
- Changed Barcode.EANChecksum, Barcode.ISBNChecksum and Barcode.UPCChecksum to only use digits and ignore spaces or dashes in input.
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 5th September 2019