User Tools

Site Tools


action:Set_Variable_to_Calculation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
action:Set_Variable_to_Calculation [2023/09/20 02:26]
peternlewis
action:Set_Variable_to_Calculation [2023/11/10 22:38]
peternlewis [Formatting]
Line 27: Line 27:
  
 As can be seen by the blue shade of the action gear menu there is an additional option for the action, specifically you can //Format the Result// using [[https://​www.stairways.com/​action/​linkthru?​unicodenumberformat|Unicode Number Format Patterns]] such as //#,##​0.##//​. As can be seen by the blue shade of the action gear menu there is an additional option for the action, specifically you can //Format the Result// using [[https://​www.stairways.com/​action/​linkthru?​unicodenumberformat|Unicode Number Format Patterns]] such as //#,##​0.##//​.
 +
 +(i) Note that numeric values in Keyboard Maestro allow only “full stop” decimal (.) and no thousand separators (except optional underscores),​ so the output of this action with formatting will likely not be a valid number for a Keyboard Maestro calculation. **It should be used only for display purposes.**
 +
  
 ===== Result ===== ===== Result =====
Line 49: Line 52:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 ==== Actions ==== ==== Actions ====
Line 65: Line 66:
 * [[function:​TRUNC|TRUNC()]] * [[function:​TRUNC|TRUNC()]]
 * [[:​Functions|See all Functions]] * [[:​Functions|See all Functions]]
 +
 +==== Tokens ====
 +
 +* [[token:​Calculate|%Calculate%]] token
 +* [[token:​CalculateFormat|%CalculateFormat%]] token
 +* [[:​Tokens|See all Tokens]]
  
 ==== Topics ==== ==== Topics ====
Line 70: Line 77:
 * [[:Text Fields|Text Fields]] * [[:Text Fields|Text Fields]]
 * [[:​Frequently Asked Questions|FAQ]] * [[:​Frequently Asked Questions|FAQ]]
- 
----- 
  
 ==== Forum ==== ==== Forum ====
action/Set_Variable_to_Calculation.txt · Last modified: 2023/11/10 22:40 by peternlewis