sscc_check_digit

Calculates the check digit for a given SSCC number.

Example

1
{{ '12345678912345678' | sscc_check_digit }} => 9

Input

Type Parameter Description Required
string number The sscc number to calculate the check digit for. Comes before the | sign. Required

Output

Type Description
string The check digit