[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath MOD 10 calculation
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)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|