|
Subject: Re: [xsl] XPath MOD 10 calculation From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 25 May 2007 10:29:05 +0100 |
> 10 - ((sum($odd) * 3) + sum($even)) mod 10
yes, or
-sum((-10,$odd,$odd,$odd,$even)) mod 10
:) I think you've just turned off Simplification Street and gone down Obfuscation Road....
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XPath MOD 10 calculation, David Carlisle | Thread | Re: [xsl] XPath MOD 10 calculation, Abel Braaksma |
| Re: [xsl] XPath MOD 10 calculation, David Carlisle | Date | Re: [xsl] Evaluating a return value, Florent Georges |
| Month |