Try this :
{assign var="count" value=$rows|@count}
{math assign="span" equation='x/y' x=12 y=$count}
سؤال
I can't seem to get the syntax correct for this: divide maths calculation.
{assign var="span" value="`12/$rows|@count`"}
المحلول
Try this :
{assign var="count" value=$rows|@count}
{math assign="span" equation='x/y' x=12 y=$count}