User Tools

Site Tools


function:CALCULATE

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
function:CALCULATE [2016/06/21 23:30]
peternlewis created
function:CALCULATE [2023/09/20 00:08] (current)
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.+====== CALCULATE Function ====== 
 + 
 +The CALCULATE(t) 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%)
  
 +{{function:​set-var-to-calculation-calculate.jpg?​nolink|}}
 +
 +===== See Also =====
 +
 +==== Actions ====
 +
 +* [[action:​Set Variable to Calculation|Set Variable to Calculation Action]]
 +* [[:​Actions|See all Actions]]
 +
 +==== Functions ====
 +
 +* [[BIN]]
 +* [[OCT]]
 +* [[HEX]]
 +* [[CALCULATE]]
 +* [[:​Functions|See all Functions]]
 +
 +==== Tokens ====
 +
 +* [[token:​Bin|%Bin%]]
 +* [[token:​Oct|%Oct%]]
 +* [[token:​Hex|%Hex%]]
 +* [[token:​Calculate|%Calculate%]]
 +* [[:​Tokens|See all Tokens]]
 +
 +==== Forum ====
 +
 +- [[https://​forum.keyboardmaestro.com/​search?​q=CALCULATE|Keyboard Maestro Forum topics about CALCULATE() function]]
function/CALCULATE.1466566241.txt.gz · Last modified: 2016/06/21 23:30 by peternlewis