modulus_10_check_digit

Calculates the modulus 10 check digit for a given number.

Example

1
{{ 1234567890 | modulus_10_check_digit }} => 123

Input

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

Output

Type Description
string The check digit