Martin Kerz writes:
it seems, that it's not possible to calculate with fractions using MarkupExprPlus. 

On the page http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus you can see that operations with decimal numbers are correct.

 {(add 0.5 4.2 5.9)} correctly prints 10.6

Petko

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.

I have no error with your code. Check if you have 0 'zero' and not O 'letter o'.

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to