Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Barcode.EANChecksum
Calculates checksum for EAN barcodes.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Barcode | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Barcode.EANChecksum"; 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 EAN barcodes.For EAN 8, please use Barcode.UPCChecksum function.
Examples
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"
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.
Blog Entries
- MBS FileMaker Plugin, version 9.4pr5
- MBS FileMaker Plugin 5.0 for OS X/Windows - More than 3000 Functions In One Plugin
- MBS FileMaker Plugin, version 5.0pr9
This function is free to use.
Created 26th January 2015, last changed 5th September 2019