<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.keyboardmaestro.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.keyboardmaestro.com/feed.php">
        <title>Keyboard Maestro Wiki</title>
        <description></description>
        <link>https://wiki.keyboardmaestro.com/</link>
        <image rdf:resource="https://wiki.keyboardmaestro.com/_media/wiki/logo.png" />
       <dc:date>2026-04-04T21:09:34+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/action/Set_Variable_to_Calculation?rev=1699674009&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/manual/JSON?rev=1713752630&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/manual/Calculations?rev=1740535462&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/token/CalculateFormat?rev=1699586926&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/Functions?rev=1740131120&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/JavaScript_for_Automation?rev=1547315026&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/function/CEIL?rev=1695199167&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/function/FLOOR?rev=1695199315&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/function/ROUND?rev=1695199339&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.keyboardmaestro.com/token/Calculate?rev=1699586961&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.keyboardmaestro.com/_media/wiki/logo.png">
        <title>Keyboard Maestro Wiki</title>
        <link>https://wiki.keyboardmaestro.com/</link>
        <url>https://wiki.keyboardmaestro.com/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.keyboardmaestro.com/action/Set_Variable_to_Calculation?rev=1699674009&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-11T03:40:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Set_Variable_to_Calculation</title>
        <link>https://wiki.keyboardmaestro.com/action/Set_Variable_to_Calculation?rev=1699674009&amp;do=diff</link>
        <description>Set Variable to Calculation Action

The Set Variable to Calculation action sets a variable to the result of a calculation with numeric formatting.



Calculations

You may use the following in the to calculation box:

	* Keyboard Maestro Variables
	* Functions
	* Calculation Operators

The to field is a numeric field so you cannot use any of the</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/manual/JSON?rev=1713752630&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-22T02:23:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>JSON</title>
        <link>https://wiki.keyboardmaestro.com/manual/JSON?rev=1713752630&amp;do=diff</link>
        <description>JSON

Keyboard Maestro includes comprehensive support for JSON (JavaScript Object Notation), which is a formalized lightweight data-interchange format.

JSON objects consist of one of:

	* An array, surrounded by square brackets and with comma-separated values, eg</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/manual/Calculations?rev=1740535462&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-26T02:04:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Calculations</title>
        <link>https://wiki.keyboardmaestro.com/manual/Calculations?rev=1740535462&amp;do=diff</link>
        <description>Calculations

Overview

Keyboard Maestro supports calculations in almost any numeric text fields.  For example you can Pause for “60*Time in Minutes”.  Calculations can also use comma separated lists of numbers as arrays, and can return such arrays, so you can operate on rectangle frames and points.  Numeric fields often start small with up/down step arrows, but if you type anything other than a number they will expand to allow a more complex expression to be entered.  You can tell that a field …</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/token/CalculateFormat?rev=1699586926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-10T03:28:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>CalculateFormat</title>
        <link>https://wiki.keyboardmaestro.com/token/CalculateFormat?rev=1699586926&amp;do=diff</link>
        <description>CalculateFormat Token

The %CalculateFormat%&lt;formula&gt;%&lt;format&gt;% token (v8+) returns the numeric result of performing a calculation.  The formula is the same as for the Calculate token.

The &lt;format&gt; is either one of these specific localized formats:

	* Decimal</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/Functions?rev=1740131120&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-21T09:45:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Functions</title>
        <link>https://wiki.keyboardmaestro.com/Functions?rev=1740131120&amp;do=diff</link>
        <description>Functions

Keyboard Maestro has a variety of functions. Functions allow you to calculate certain information for use in numeric fields. You can insert functions into a field using the Insert Function menu in the Edit menu.  Most fields that are numeric (can be only numbers) can include functions.  Such fields typically start off small and include up/down arrows, but if you start typing anything more complex than a decimal number, they will expand to give you room to write expressions.</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/JavaScript_for_Automation?rev=1547315026&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-12T17:43:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>JavaScript_for_Automation</title>
        <link>https://wiki.keyboardmaestro.com/JavaScript_for_Automation?rev=1547315026&amp;do=diff</link>
        <description>JavaScript for Automation (JXA) Discussion

Scope and Summary

This Wiki article is a broad topic, which covers these major areas:

	* Introduction to JXA
	* Using JXA with Keyboard Maestro
	* JXA Background
	* Comparison with AppleScript

Introduction</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/function/CEIL?rev=1695199167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-09-20T08:39:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>CEIL</title>
        <link>https://wiki.keyboardmaestro.com/function/CEIL?rev=1695199167&amp;do=diff</link>
        <description>CEIL Function

The CEIL(x) function takes a number and returns the first integer that is greater than or equal to the argument:
CEIL(5.5) === CEIL(5.1) === CEIL(6) === 6
CEIL(-5.5) === CEIL(-5.1) === CEIL(-5) === -5
The CEIL() function (v11.0+) takes a second optional parameter to indicate the number of decimal digits to operate to:</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/function/FLOOR?rev=1695199315&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-09-20T08:41:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>FLOOR</title>
        <link>https://wiki.keyboardmaestro.com/function/FLOOR?rev=1695199315&amp;do=diff</link>
        <description>FLOOR Function

The FLOOR(x) function takes a number and returns the first integer that is less than or equal to the argument:
FLOOR(5.5) === FLOOR(5.1) === FLOOR(5) === 5
FLOOR(-5.5) === FLOOR(-5.1) === FLOOR(-6) === -6
The FLOOR() function (v11.0+) takes a second optional parameter to indicate the number of decimal digits to operate to:</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/function/ROUND?rev=1695199339&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-09-20T08:42:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ROUND</title>
        <link>https://wiki.keyboardmaestro.com/function/ROUND?rev=1695199339&amp;do=diff</link>
        <description>ROUND Function

The ROUND() function takes a number and returns the nearest integer to the argument.  Numbers that are exactly half way (ie, end in “.5”) round away from zero.
ROUND(5.4) === ROUND(5.1) === ROUND(4.5) === 5
ROUND(-5.5) === ROUND(-5.9) === ROUND(-6.3) === -6</description>
    </item>
    <item rdf:about="https://wiki.keyboardmaestro.com/token/Calculate?rev=1699586961&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-10T03:29:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Calculate</title>
        <link>https://wiki.keyboardmaestro.com/token/Calculate?rev=1699586961&amp;do=diff</link>
        <description>Calculate Token

The %Calculate%&lt;formula&gt;% token returns the numeric result of performing a calculation,
where &lt;formula&gt; may be any of the following:

	*  Mathematical formula like (2 + 3)*12
	*  Use any Variable which may be evaluated as a number
		*  :!:  Just enter the Variable Name (without the</description>
    </item>
</rdf:RDF>
