This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
function:CALCULATE [2016/06/29 15:38] alain JMTX template + add internal links + forum Google search |
function:CALCULATE [2019/06/24 08:04] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The CALCULATE function takes an arbitrary [token text](https://wiki.keyboardmaestro.com/Tokens) string, processes the text tokens, and then calculates value of the resulting numeric expression. | + | The CALCULATE function takes an arbitrary [[:Tokens|token text]] string, processes the text tokens, and then calculates value of the resulting numeric expression. |
CALCULATE(%ICUDateTime%yyyyMMdd%/10000) | CALCULATE(%ICUDateTime%yyyyMMdd%/10000) | ||
CALCULATE(%CurrentClipboard%) | CALCULATE(%CurrentClipboard%) | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | {{function:set-var-to-calculation-calculate.jpg?nolink|}} | ||
===== See Also ===== | ===== See Also ===== | ||
Line 27: | Line 31: | ||
==== Forum ==== | ==== Forum ==== | ||
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+CALCULATE(|Keyboard Maestro Forum topics about CALCULATE() function]] | + | - [[https://forum.keyboardmaestro.com/search?q=CALCULATE|Keyboard Maestro Forum topics about CALCULATE() function]] |