Get Help

The Let Calculate Hot Code
Pro Version Only

The <LET: {CALCULATE}> hot code defines a variable as a result of a mathematical expression and re-uses it in the subsequent processing of the shortcut.

For more details on <LET> hot code, see the LET hot code topic.

Format Action Example
<LET:name={CALCULATE} math-expression> Define a variable name whose value will be calculated at run-time using the math-expression. See more information below

 

Mathematical Expression

Mathematical expressions use the following operators:

Operator Meaning Example
+ Plus 2 + 2 will give the result 4
- Minus 3 - 2 will give the result 1
* Multiplication 3 * 2 will give the result 6
/ Division 12 / 4 will give the result 3
^ Power 2 ^ 3 will give the result 8

Notes:

  • The order of operators is the normal mathematical order. To give certain operator priority, enclose it with ()

    For example:
    <LET:result = {CALCULATE} 1 + 2 ^ 3 + 5> will give the result 14
    <LET:result = {CALCULATE} (1 + 2) ^ 3 + 5> will give the result 32
    <LET:result = {CALCULATE} (1 + 2) ^ (3 + 5)> will give the result 6561
    <LET:result = {CALCULATE} 1 + 2 ^ (3 + 5)> will give the result 257
  • By default, fraction numbers have two (2) decimal points. You can change it to 1 or 3 or any other number using the Advance Options. See the "FormattingWholeNumber" and "FormattingDecimalPoint" settings in the "Settings" topic for more information.

© 2016, Fanix Software. All rights reserved.
The smart all-in-one typing software for immediate mistake-free and fast typing!

Designed For:

Spell Check Anywhere You Type - Automatic Typos Correction - Word & Text Expansion - Automation