What is the formula for converting UPC-E barcodes to UPC-A barcodes? Better yet would be some C# code, C#esque pseudocode, or even just in an "English" expository way.
Asked
Active
Viewed 6,955 times
0
-
1This is now answered here: http://stackoverflow.com/a/31539006/2568535 – Terry Burton Jul 21 '15 at 12:30
-
Thanks; funny how the same question went from off-topic to apparently on-topic. – B. Clay Shannon-B. Crow Raven Jul 21 '15 at 14:39
-
1Yeah. I initially attempted to edit your question requesting that a mod re-open it as a useful and popular question for which I had an answer pre-cooked based on http://stackoverflow.com/a/31079071/2568535 That way we would have both benefited from the reputation points. Alas, it wasn't to be as this edit was rejected... Raising the question again myself was the best I could do! – Terry Burton Jul 21 '15 at 15:05
-
1All's fair in love, war, Patriots football, and Stack Overflow! (Note: I am decidedly *not* a Patriots fan! Go, Packers!!!) – B. Clay Shannon-B. Crow Raven Jul 21 '15 at 15:28
1 Answers
1
Ctrl+F for "Converting UPC-A to UPC-E" at http://www.taltech.com/barcodesoftware/symbologies/upc . It explains all the cases in a better format than I can paste here.

JaneGoodall
- 1,478
- 2
- 15
- 22
-
That's a good link for checking my calculations against, plus it has a source code download (even though it is VB - bleh!), so I'll give you the answer. Say hi to the monkeys for me. – B. Clay Shannon-B. Crow Raven Sep 13 '13 at 22:51
-
Just to point out that the linked-to description of the conversion process does not handle UPCs with a number system other than 0. Thanks. – Terry Burton Jul 21 '15 at 15:25