The Set Variable to Calculation action sets a variable to the result of a calculation with numeric formatting.
You may use the following in the to calculation box:
You cannot use any of the Clipboard tokens.
Using Keyboard Maestro Variable Names in the to calculation box:
%Variable%My Variable Name%
.%
, like My Variable Name
The below macro performs a simple calculation of adding 1 to the value currently selected by the user in the user's document, and then pasting the new value back into the user's document.