Subject: Re: [xsl] XPath MOD 10 calculation From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 25 May 2007 16:27:49 +0100 
Note you only need to do that if calculating the check digit, (when it matters that you get 0 not 10) if you are just checking that a given checksum is right then you don't need that complication as using 10 or 0 is the same in a (..) mod 10 = 0 test.
If you a_re_ calculating the digit, rather than write (10  (foo mod 10)) mod 10 it's probably more natural just to use (foo mod 10)
Current Thread 


< Previous  Index  Next > 

Re: [xsl] XPath MOD 10 calculation, David Carlisle  Thread  Re: [xsl] XPath MOD 10 calculation, David Carlisle 
Re: [xsl] XPath MOD 10 calculation, David Carlisle  Date  Re: [xsl] XPath MOD 10 calculation, David Carlisle 
Month 