Variables and math
| From: | Victor | Date: | Fri, 01 Nov 2002 18:43:39 +0000 |
| Subject: | Variables and math | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6303@lists.php.net to get a copy of this message | ||
Hi everybody,
I want to do this more or less:
{$foo * 16}
where foo is a number. Actually my real code is a bit more complex, but this
should be enough to see what I want to do. The custom function "math" is not
the correct answer. Anyway, the *16-part is completely ignored by Smarty and
I don't know what to do.
Thanks in advance,
Victor