Page 1 of 1

Validating bank account numbers

Posted: Tue Oct 10, 2023 10:27 am
by rdonnay
Does anyone have some Xbase++ code that validates a bank account number (based on check digit)?

I believe that bank account check digits are calculated using the Luhn algorithm.

Is this correct?
I am not sure.

Online documentation says that bank account numbers are always 9 digits or greater, yet my own bank account is only 8 digits.