This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: variable change in xsl:for-each


Pardon me, in my last posting, I gave mod() the definition for div():

>> If you haven't heard of mod() before, a mod b returns the number of
times b can be subtracted from a without returning >> negative result.

What I should have said was that mod is is the *remainder* from removing
b from a the maximum number of times without getting a negative result.

For example:
5 mod 3 is 2, 5 div 3 is 1
5 mod 4 is 1, 5 div 4 is 1




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]