[pmwiki-users] Simple math
Dominique Faure
dominique.faure at gmail.com
Wed Sep 20 08:00:27 CDT 2006
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}
Regards,
Dom
[1] http://www.pmwiki.org/wiki/Cookbook/ASCIIMath
[2] http://www.pmwiki.org/wiki/Cookbook/PageVariableExtensions
More information about the pmwiki-users
mailing list