Hi!

I tried using "/", "div", "%" and "mod" but none of it seems to work.

Demo-xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<j:jelly trim="true" xmlns:j="jelly:core"
         xmlns:fmt="jelly:fmt" xmlns:util="jelly:util">
<j:forEach var="i" begin="0" end="10" step="1">
  ${i}, ${i % 3}, ${i div 3}, ${i / 3}
</j:forEach>
</j:jelly>

Output:

0, , , 1, , , 2, , , 3, , , 4, , , 5, , , 6, , , 7, , , 8, , , 9, , , 10, ,
, 


Thanks in advance,

Christian Beer 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to