Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Calculates checksum for ISBN 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 checksum for ISBN:
// returns 6 for 9 digit ISBN:
MBS( "Barcode.ISBNChecksum"; "074755100" )
Example result: 6
Calculates checksum for an ISBN 10:
MBS( "Barcode.ISBNChecksum"; "0-306-40615-0" )
# pass any value for the checksum, if you don't know it.
Example result: "2"
Calculate checksum for a ISBN 13:
MBS( "Barcode.ISBNChecksum"; "978-0-306-40615-7" )
Example result: "7"
This function is free to use.
Created 26th January 2015, last changed 5th September 2019