This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:widget_functions [2017/05/08 11:06] admin |
wiki:widget_functions [2021/10/25 05:45] (current) admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[wiki: | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
- | * [[wiki: | + | |
+ | | ||
+ | | ||
* [[wiki: | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
+ | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
Line 13: | Line 24: | ||
* [[wiki: | * [[wiki: | ||
* [[wiki: | * [[wiki: | ||
- | * | + | |
===== Operators ===== | ===== Operators ===== | ||
- | Standard operators can be used in all formulas, such as +, -, *, /, ( and ). | + | Standard operators can be used in all formulas, such as +, -, *, /, <, >, <=, >= ( and ). IIF is possibler for expressions: |
+ | |||
+ | ===== Conditionals ===== | ||
+ | |||
+ | In order to test for a condition, you can use the syntax: | ||
+ | '' | ||
+ | The comparison uses the IIF syntax - so if compared value > 5 the output would be 1 and otherwise (:) 0. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 23: | Line 40: | ||
'' | '' | ||
+ | |||
+ | This example will output ' | ||
+ | |||
+ | '' | ||