check ISO6346(container number a)
Group |
This function checks the check digit of a container number (according to ISO 6346 or EN13044) of length 11.
If the check is successful, the function returns true, otherwise false (also if the format of the container number is incorrect).
Parameter Description
Parameter |
Description |
a |
The container number (according to ISO 6346 or EN13044) of length 11 (i.e. with check digit). Lower cases and spaces are allowed. |
Example
Parameter a |
Result |
CSQU3054383 |
true |
Csq U3054383 |
true |
7777777 |
false |