<
From version < 1.6 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:41
To version < 1.8 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:43
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,7 @@
5 5  == Syntax : ==
6 6  
7 7  * **${ixf:avg(xpathExp1, xpathExp2)}** calculates the average of the results obtained from evaluating "xpathExp1" and "xpathExp2".
8 -* **${ixf:avg(xpathExp, "10")}** the outcome will be the average of the value resulting from evaluating "xpathExp" and the number 10.
8 +* **${ixf:avg(xpathExp, "10")}** the outcome will be the sum of the value resulting from evaluating "xpathExp" and the number 10 dividing by 2.
9 9  * **${ixf:avg("10","12","100")}**  the result will be 40,66, which is the sum of  10 and 12 and 100 dividing by 3.
10 10  
11 11  Ensure that numerical values are between double quotes : ${ixf:avg("10","12","100")},
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian