[pmwiki-users] Spreadsheet style calculations
Stirling Westrup
sti at pooq.com
Wed Dec 27 15:51:56 CST 2006
DaveG wrote:
> Is there any way to do basic computations in PMWiki? I have an excel
> spreadsheet that I'd like to move onto the wiki. The sheet has the
> following columns (actually a few more, but these are the core):
>
> Gallons - Miles - Miles/Gallon
>
> I'd like to be able to enter the first two cols and have PM calculate
> the third. Additionally I'd like to maintain a "Average of Miles/Gallon"
> number as well.
>
> Is the built-in functionaity to do this, or a Recipe somewhere?
>
PageVariableExtensions will allow you to perform simple math on numbers, and
with some work you can compute your average. I find the recipe somewhat
difficult to work with, but its currently the only way other than writing your
own markup extension.
http://www.pmwiki.org/wiki/Cookbook/PageVariableExtensions
More information about the pmwiki-users
mailing list