Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

Barcode.ISBNChecksum

Calculates checksum for ISBN barcodes.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Barcode 5.0 Yes Yes Yes Yes Yes
MBS( "Barcode.ISBNChecksum"; Text )   More

Parameters

Parameter Description Example value
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 ISBN barcodes.
We have a ISBN 10 and ISBN 13 algorithm depending on how many digits you pass.
Please make sure input has always 10 or 13 digits!

Examples

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"

See also

Blog Entries

Release notes

Created 26th January 2015, last changed 5th September 2019


Barcode.GetPrimary   -   Barcode.LibVersion

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins