The Calculate extension is now updated to support macOS Monterey. It also gained some new abilities.
Evaluate the text as mathematical expression.
The result is displated as the action’s button title. Clicking the action button will paste or copy the result. (Holding Shift (⇧) will always copy.)
Examples with simple arithmetic:
1 + 1→
(50 + 1) * 2 - 5→
It can also support quite complex expressions, as supported by mathjs:
155 miles * 18% in km→
4(2 + 3i)→
8 + 12i
a = 2; b = 3; 2a + b→
If the input text ends with an
=character, the result will be appended to the input instead of replacing it. For example:
This is an extension for PopClip.
Requires PopClip 2021.11.
The extension is implemented using mathjs. The evaluation is performed using the
evaluate()function of the library.
v2 - 8 Nov 2021
Displays result as title of button.
v1 - 8 Apr 2013
- Initial release (PHP).