commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pim <>
Subject [Validator] Unable to validate an IBAN with IbanCheckDigit.isValid(ibanNbr)
Date Fri, 01 Feb 2013 09:50:31 GMT

I'm looking for some advice on how to use the IBAN validation.

So far I have coded this:
		String ibanNbr = "271011240310716969232100";
IBANCheckDigit  IbanCheckDigit = new  IBANCheckDigit();
boolean isIbanCheckOK = IbanCheckDigit.isValid(ibanNbr);

But all call have come back false. Even when I enter a valid IBAN
I confused what it needs to propery validate an IBAN number. I presume
this should work : INGB0001234567NL
As this is the business format of a IBAN number.

Any help is much appreciated.

Kind regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message