Changes for page Sum
Last modified by Abdelali EL MAJDOUBI on 2023/08/03 13:29
<
>
edited by Abdelali EL MAJDOUBI
on 2023/08/02 12:28
on 2023/08/02 12:28
edited by Abdelali EL MAJDOUBI
on 2023/08/02 12:52
on 2023/08/02 12:52
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,14 +4,16 @@ 4 4 5 5 == Syntax : == 6 6 7 -* ${ixf:sum(xpathExp1, xpathExp2)} "calculates the sum of the results obtained from evaluating "xpathExp1" and "xpathExp2".8 -* ${ixf:sum("10" ,'12','100')},the result will be122, which isthe sum of theindividualresultsof"10","12",and"100".9 -* ${ixf:sum( xpathExp,"10")} the result will be the sum of the result obtainedfromevaluating"xpathExp" and 107 +* ${ixf:sum(xpathExp1, xpathExp2)} calculates the sum of the results obtained from evaluating "xpathExp1" and "xpathExp2". 8 +* ${ixf:sum(xpathExp,"10")} the result will be the sum of the result obtained from evaluating "xpathExp" and 10. 9 +* ${ixf:sum("10","12","100")} the result will be 122, which is the sum of the individual results of "10", "12", and "100". 10 10 11 - ==Note:==11 +Ensure that numerical values are between double quotes : ${ixf:sum("10","12","100")}, 12 12 13 -Ensure that numerical values are between double quotes (Example: "10") or single quotes (Ex: '22'), 14 - 15 15 while xpath expressions should remain without any quote enclosures. 16 16 15 +== Note: == 16 + 17 +You can wrap numerical values also by single quotes : ${ixf:sum('10','12','100')} **OR** Mixing both quotes : ${ixf:sum("10",'12','100')}, 18 + 17 17