[pmwiki-users] MarkupExpressionsExtensions

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 17 08:10:12 CDT 2007


On Tue, Apr 17, 2007 at 11:20:27AM +0100, Hans wrote:
> Tuesday, April 17, 2007, 11:18:57 AM, Petko wrote:
> 
> > No, PHP math functions cannot be used (such as round(), sqrt(), abs(), etc.).
> > Yes, just the simplest of arithmetic -- addition, substraction, 
> > multiplication, division -- and the expression *must* be written correctly.
> 
> Maybe it better be called {(calculate ..)} or ({calc ... )}
> if that is what it does, and not evaluate equations with math
> functions.

Perhaps better would be to identify it directly as

   {(expr ...)}

since the argument to the function is an expression to 
be evaluated.

Pm



More information about the pmwiki-users mailing list