Re: simple math
| From: | Joscha Feth | Date: | Mon, 05 May 2003 18:30:01 +0000 |
| Subject: | Re: simple math | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1352@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
Hi,
> {$var}
> {$var+1}
> {$var-1}
> {$var*2}
> {$var/4}
> {$var++}
> {$var--}
> {$var+3.45}
>
> I'd like thoughts on it, try it out.
could you also add %, please?
{$months%3}
Thanks... and greets,
Joscha