[pmwiki-users] Spreadsheet style calculations

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 28 11:52:21 CST 2006


On Thu, Dec 28, 2006 at 12:46:52PM -0500, DaveG wrote:
> Looks like that recipe has no concept of arrays (or columns/rows), which 
> is going to make it tough to add new data to the table, without having 
> to change the formulas each time.
> 
> Dow PMWiki have anything built in which could be leveraged?

Not really.  PmWiki is designed to be a web publishing tool, not a
spreadsheet.  :-)

This isn't to say that such features cannot be added via recipe -- 
just that I can't think of anything built-in that would help
much here.

Pm


> Stirling Westrup wrote:
> > 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
> > 
> > 
> > 
> > 
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> > 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list