Re: integer math in a smarty template
OK I did that
but i can tell by write statements that it goes into the if block but inside these lines
{$idiff = $ItemOrderby - $p.orderby }
IDIFF = {$idiff}
I try to print using IDIFF= {$idiff} and it prints nothing - not a zero - just blank
so it's not doing the math
|