[pmwiki-users] Simple math

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 20 08:52:48 CDT 2006


On Wed, Sep 20, 2006 at 03:00:27PM +0200, Dominique Faure wrote:
> On 9/20/06, Tom Lederer <celok at gmx.net> wrote:
> > Hi all,
> >
> > i feel kinda blocked now, so i give this question a try on the list:
> >
> > Is there a way to do some quick math in a wiki page?
> >
> > Like (4*5+8-9)/20 ?
> >
> It depends on what you expect exactly:
> 
> For the rendering of quick math expression, you may use ASCIIMath[1]
> which would handle expressions like:
> 
> {$ (4 xx 5 + 8 - 9) / 20 $}
> 
> For real data computation, you may use PVE[2] with:
> 
> (:set v=4:){$v:* 5:+ 8 :- 9:/ 20}

Ooops, I didn't realize PVE did math expressions.  I stand corrected.  :-)

Pm




More information about the pmwiki-users mailing list