Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Calculates checksum for EAN barcodes.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Barcode | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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" |
The checksum as text.
Calculates check for EAN:
// returns 3 for 12 digit EAN:
MBS( "Barcode.EANChecksum"; "425098421626" )
Example result: 3
Calculates EAN checksum for ISBN 978-3-16-148410-0:
MBS( "Barcode.EANChecksum"; "978-3-16-148410")
Example result: "0"
This function is free to use.
Created 26th January 2015, last changed 5th September 2019