Convert EAN-8 to EAN-13
barcode, ean-13
Solution
EAN-8 is a short version of EAN-13, composed by 7 digits and 1 check digit.
There is no conversion available between EAN-8 and EAN-13 sorry :(
Problem
I have an 8 digit EAN code which I would like to convert to an EAN-13 code. Do you know of any algorithm on how to calculate this? Or is it simply adding five zeros to the beginning of the EAN-8? E.g. EAN-8(1234 5678) becomes EAN-13(00000 1234 5678)?