[Home] [By Thread] [By Date] [Recent Entries]
On 5/25/07, David Carlisle <davidc@xxxxxxxxx> wrote:
Nice! That give a boolean to check the UPC is correct - is it ok to re-write it as: 10 - ((sum($odd) * 3) + sum($even)) mod 10 to give you the check-digit? If so it makes the outermost "mod 10" of $calc redundant? (if it is then step #4 on the wikipedia article isnt needed)
|

Cart



