Tags Archives

You are currently viewing all posts tagged with mod11.

Today again I’m here because there’s a special Modulus Check Digit of the norm ISO/IEC 7064, the Mod 11,2, that I wasn’t able to find the code for in PHP.

To help you all I decided to build a version of it. Mod 11 2 isn’t a very known modulus because it isn’t used very often and perhaps that’s why there isn’t much information around.

For example the Mod 97,10 is used to calculate the check digit of an IBAN (International Bank Account Number) and so you can find it in many places.

The Mod 11-2 is used in medical related services, that’s where you will find it most of the times.

Code can also be found in the gist here and in the box below.

Share, enjoy.