--- title: "checksum 2 of 5 interleaved()" slug: "basic-2-of-5-interleaved" updated: 2026-08-11T07:01:18Z published: 2026-08-11T07:01:18Z canonical: "docs.lobstersoftware.com/basic-2-of-5-interleaved" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # 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 |