Re: [SMARTY-DEV] Re: simple math
| From: | Monte Ohrt | Date: | Mon, 05 May 2003 18:36:47 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: simple math | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1353@lists.php.net to get a copy of this message | ||
Got it.
On Mon, 2003-05-05 at 13:30, Joscha Feth wrote:
> 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
--
Monte Ohrt <monte@ispi.net>