This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:cachevariables [2022/02/22 10:13] – [Formula syntax] lineflyer | en:cachevariables [2022/02/22 10:20] – [Functions] lineflyer | ||
---|---|---|---|
Line 82: | Line 82: | ||
|Integer | Number without decimal places | Use digits | '' | |Integer | Number without decimal places | Use digits | '' | ||
|Decimal | Number with decimal places | Use digits with decimal point or comma | '' | |Decimal | Number with decimal places | Use digits with decimal point or comma | '' | ||
- | |String | Text | Surround value with '' | + | |String | Text | Surround value with '' |
- | **FIXME** using monotext does not work for ' in this table as its also part of the monotext syntax in Dokuwiki. :( | ||
==== Numeric operators ==== | ==== Numeric operators ==== | ||
Line 91: | Line 90: | ||
^ Operator ^ Function ^ Example ^ | ^ Operator ^ Function ^ Example ^ | ||
- | |+|Addition|'' | + | |'' |
- | |-|Subtraction (or negating a number)|'' | + | |'' |
- | |*|Multiplication|'' | + | |'' |
- | |/ | + | |'' |
- | |%|Modulo|'' | + | |'' |
- | |**FIXME**|Potentiate|'' | + | |'' |
- | |!|Factorize|'' | + | |'' |
==== Relational operators and conditions ==== | ==== Relational operators and conditions ==== | ||
Line 136: | Line 135: | ||
|'' | |'' | ||
|'' | |'' | ||
- | |'' | + | |'' |
|'' | |'' | ||
|'' | |'' | ||
Line 186: | Line 185: | ||
* The Formula '' | * The Formula '' | ||
* The Formula '' | * The Formula '' | ||
- | * The Formula '' | + | * The Formula '' |
- | * The Formula '' | + | * The Formula '' |
- | **FIXME** Double underscore is interpreted as underline by Dokuwiki | ||
==== Range expressions ==== | ==== Range expressions ==== | ||
- | You can specify ranges in formulas using '' | + | You can specify ranges in formulas using '' |
+ | |||
+ | **FIXME** Link to anchor on waypoint calc page as soon as its updated to cover waypoint generation with ranges. | ||
An example for a range expression is '' | An example for a range expression is '' |