Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAN13 barcodes with check digit 0 are not being generated correctly #5

Closed
marciopd opened this issue Jul 19, 2019 · 1 comment
Closed

Comments

@marciopd
Copy link

Hello,

Seems the library is working fine to generate EAN13 codes, except for numbers that should have the check digit as 0.

For instance, if you ean.ean13.generate(262192200530), it returns 2621922005310 instead of 2621922005300.

@marciopd
Copy link
Author

Please let me know if it's something you think might be easy to fix.
I could maybe help with a PR too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants