IBAN checking/creating

Discussion in 'Mac Programming' started by idelovski, Jan 23, 2013.

  1. idelovski, Jan 23, 2013
    Last edited: Jan 23, 2013

    macrumors regular

    Sep 11, 2008
    I suppose some of you have heard about IBAN standard for bank accounts (WIKI).

    In essence, I need to do mod operation on a very big number and it seems like unsigned long long isn't big enough, at least for accounts in my country. Any advice how to do it? Is libtom my only choice?
  2. macrumors 68040

    Feb 2, 2008
  3. thread starter macrumors regular

    Sep 11, 2008

    since I needed to genereate those iban prefixes and the solution on that page is related to validation at first I didn't look at it too deep, but now I realized there are only 100 combinations (from '00' trough '99') so I can just loop and check each value. The good one should surface very quickly.

Share This Page