Barcode validator : check digit 0 + barcode as integers

Hello!
- Bug in my previous code if the check digit was 0
- validator accepts barcode as integers (and not only strings)