Hi,

In 2014 we will have to use a new bank account number in Europe.

It looks like this: NL91ABNA0417164300

91 is a check digit

This check digit is a result of a mod 97 operation.

The calculation that needs to be performed is:

(mod(101123100417164300232100,97)) 

(The length of the figure is 24 characters)

The result = 7

The check digit then becomes 98 - 7 = 91

My question is: This figure is too big for a modular operation and bignums
are not allowed in the mod function. Does anybody know a workaround?


N.B.

To rules to create the long figure are:

Change the IBAN to: ABNA0417164300NL00 (Put NL (=countrycode) after the
figure and add two zeroes to it.
Replace all letters by it's position in the Alphabet and add 9 to this
number ( A = 10, B = 11, and so on)

Tony


Reply via email to