[pmwiki-users] MarkupExprPlus calculating with fractions

Martin Kerz mkerz at me.com
Sat Sep 7 05:05:22 CDT 2013


Hi!

it seems, that it's not possible to calculate with fractions using MarkupExprPlus. 

I want to do 

(:Sum:{(add {$:U} {$:K})}:)


It works just fine with integers.

Whenever I use a decimal fraction, like 

:U:0.5

It produces an error.

Is it possible to modify MarkupExprPlus to calculate these? If not, is anyone aware of another solution? That would be of great help.

Thanks a lot in advance,

Martin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130907/b13bcf86/attachment.html>


More information about the pmwiki-users mailing list