[pmwiki-users] Simple math
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 20 10:49:15 CDT 2006
On Wed, Sep 20, 2006 at 08:42:18AM -0700, Martin Fick wrote:
> --- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> > On Wed, Sep 20, 2006 at 02:05:50PM +0200, Tom
> > Lederer wrote:
> > > Is there a way to do some quick math in a wiki
> > page?
> > >
> > > Like (4*5+8-9)/20 ?
> > At the moment, no. It needs a markup to make it
> > work.
> Any chance you would consider introducing a parallel
> to logical expressions for math?
> (:expr (4*5+8-9)/20 :)
> It could even be implemented the same way the
> conditional extensions recipe was to start with using
> eval and simply allowing the appropriate tokens only.
In the core? Probably not. Until I see a lot of
need for it in general use, this really sounds like a
recipe to me.
More information about the pmwiki-users