AppleScript provides a range of arithmetic operators that you can use to build mathematical expressions, whose results you can then analyze and use to control the logical execution of statements within your AppleScripts. The arithmetic operators supported by AppleScript are demonstrated in Table 4.2.
|+||Addition||x = 5 + 5||10|
|–||Subtraction||x = 10 – 5||5|
|*||Multiplication||x = 10 * 5||50|
|/||Division (Option /)||x = 10 / 1.05||9.52380952381|
|^||Exponentiation||x = 5 ^ 2||25|
|div||Integer division with the result returned as a non-rounded integer||x = 10 div 1.05||9|
|mod||Integer division with the remainder returned as an integer||x = 10 mod 1.05||.55|
If you prefer, you may substitute ÷ for ...