Simple math request
"Konstantin A. Pelepelin" <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Organization | DTF |
| Message-ID | <[email protected]> |
Hi!
{$var-5} works, but {5-$var} or {-$var) doesn't.
{assign var='var2' value=$var-5} works, but value=5-$var or value=-$var doesn't (value=-$var can accidentally work because of string interpretation).
Is it possible to implement at least in parameters?
WBR,
Konstantin A. Pelepelin
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php