checksum 2 of 5(a)
Group |
Creates a checksum for Interleaved 2 of 5 barcodes (Interleaved 2 of 5 MOD 10). The number of characters of the barcode must be uneven, an even number must be preceded by a 0.
Description of Parameters
Parameter |
Description |
a |
Number to create checksum for. |
Examples
Parameter a |
Result |
12345 |
7 |
1234 |
Breaks with an error message. |
01234 |
8 |
Remarks
The type of the value (variable, etc.) should be set to String, to avoid the effect that a leading zero (01234) is removed leading to the abortion of the function.