From version < 1.5 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:29
To version 1.1 >
edited by Abdelali EL MAJDOUBI
on 2023/08/03 13:12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -iXPath V3.PortalV3.Basic Functions.WebHome
1 +iXPath V3.Basic Functions.WebHome
Content
... ... @@ -6,7 +6,7 @@
6 6  
7 7  * **${ixf:avg(xpathExp1, xpathExp2)}** calculates the average of the results obtained from evaluating "xpathExp1" and "xpathExp2".
8 8  * **${ixf:avg(xpathExp,"10")}** the result will be the average of the result obtained from evaluating "xpathExp" and 10.
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.
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")},
12 12  
... ... @@ -17,9 +17,9 @@
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 of **Documents/Order/DeliveryAddress/OrderLine/Price** is 30, so the average is 20.00.
21 21  
22 22  == Note: ==
23 23  
24 -* Numerical values can be also enclosed within //single quotes// : ${ixf:avg('10','12','100')} **OR **//mix single and double quotes//, like this: ${ixf:avg("10",'12','100')}.
25 -* The default display for the average includes **two** decimal places.
24 +* Numerical values can be also enclosed within single quotes : ${ixf:avg('10','12','100')} **OR **mix single and double quotes, like this: ${ixf:avg("10",'12','100')}.
25 +* By default the average display two decimal numbers.
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian