<
From version < 1.5 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:29
To version < 1.7 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:41
>
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 result will be the average of the result obtained from evaluating "xpathExp" and 10.
8 +* **${ixf:avg(xpathExp, "10")}** the outcome will be the average of the value resulting from evaluating "xpathExp" and the number 10.
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")},
... ... @@ -17,7 +17,7 @@
17 17  
18 18  * **${ixf:avg(Documents/Order/DeliveryAddress/OrderLine/Price,"10"}**
19 19  
20 -Let's suppose that the result of //Documents/Order/DeliveryAddress/OrderLine/Price// is 30, so the average is 20.00.
20 +Let's suppose that the result obtained from evaluating //Documents/Order/DeliveryAddress/OrderLine/Price// is 30, so the average is 20.00.
21 21  
22 22  == Note: ==
23 23  
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian