commons-user mailing list archives

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

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

So far I have coded this:
		//INGB0001234567NL
		//NL80RABO0001234567
		//271011240001234567232100
		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
number.
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,
Pim



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message