checksum ISO 7064 Mod. 37/36()

Creates a checksum using ISO 7064 Mod. 37/36. Dashes and whitespaces are ignored. Any other invalid characters will lead to a termination of the function with an error.

Parameters


Parameter

Description

a

Value to create the checksum for.


Example


Parameter a

Result

123AB

X

DADPIDA3897722461

J

DA-DPIDA-3897722461-

J

A12425GABC1234002

M

A1-2425G-ABC1234-002-

M