This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
token:Calculate [2015/12/13 05:20] JMichaelTX Add link to Tokens page |
token:Calculate [2015/12/14 19:47] JMichaelTX Add links per comments |
||
---|---|---|---|
Line 4: | Line 4: | ||
where //**`<formula>`**// may be any of the following: | where //**`<formula>`**// may be any of the following: | ||
* Mathematical formula like `(2 + 3)*12` | * Mathematical formula like `(2 + 3)*12` | ||
- | * Use any Variable which may be evaluated as a number, like\\ `(MyVarWordsPerSec * 60)/MyVarWordsPerPage` would yield the number of pages per minute | + | * Use any [[token:Variable|Variable]] which may be evaluated as a number, like\\ `(MyVarWordsPerSec * 60)/MyVarWordsPerPage` would yield the number of pages per minute |
* Use any of the built-in Keyboard Maestro [functions](:Functions), like [[function:RANDOM|RANDOM(10)]] | * Use any of the built-in Keyboard Maestro [functions](:Functions), like [[function:RANDOM|RANDOM(10)]] | ||
* Get the numeric value of an Variable array element, like `MyVar[2]`\\ "`10,05,12,08`" returns "`5`" \\ (Arrays may contain only numeric data) | * Get the numeric value of an Variable array element, like `MyVar[2]`\\ "`10,05,12,08`" returns "`5`" \\ (Arrays may contain only numeric data) | ||
- | A reminder that the following are only equivalent if the Variable is numeric: | + | A reminder that the following are only equivalent if the [[token:Variable|Variable]] is numeric: |
* [%Variable%Count%](Variable) | * [%Variable%Count%](Variable) |