checksum 2 of 5 interleaved()

Returns the "2 of 5 interleaved" checksum for the value in a and attaches it on the right.

Parameters


Parameter

Description

a

Number to create checksum for.

b

If "true", the result is returned as a string. See examples (→ leading zero) . Default: "false".


Examples


Parameter a

Parameter b

Result

12345

false

123457

01234

false

12348

01234

true

012348