Handy calculator

Dm114

Well-known member
Small calculator with all the features and functions allowed in MD numerical expressions. To simplify writing of expressions, some common functions can be designated by a single letter (available shortcuts are displayed when entering the expression/formula to calculate).

It's also possible to store important or recursive expressions in a History and refer to them like a function shortcut by typing "H(n)" wherever it's needed ("n" is the index # of the History item with no maximum limit). Each item can be deleted when it is not useful anymore.

The result of the calculation can be added to the clipboard to Paste it in any other app.

When launched, the initial expression input field can be either empty or filled with the last used expression during the last Calculator run. This setting is accessible on the result screen.

ℹ️ Function names and shortcuts are case insensitive

ℹ️ Every History item stores a whole or partial expression/formula, not its result: i.e. "PI*2" will be stored and retrieved as "PI*2" and not "6.283185307179586"

ℹ️ HINT: if launched from the MD Drawer, this calculator will run without exiting the app you are on.

 
Last edited:

Dm114

Well-known member
Very good job!
Thank you so much! 🙏

It's a macro I made a long time ago for my personal use. Two days ago I added the History function because I needed to make several calculations from a bit sophisticated expressions while varying some parameters...

I'll be glad if you (and some other users) find it convenient and useful. Enjoy!

Con un po' di anticipo, vi auguro un molto felice anno nuovo!
 
Last edited:

georyuli

New member
Nothing like that appears in the template store, which is why I'm asking you a favor. otherwise it won't even bother them. because I know they are busy and don't have time to help
 

Dm114

Well-known member
Nothing like that appears in the template store, which is why I'm asking you a favor. otherwise it won't even bother them. because I know they are busy and don't have time to help
Do you mean you cannot find the "HandyCalculator" macro?

If so, just look for id=19708 or HandyCalculator in the MD Template Store.
 

Endercraft

Moderator (& bug finder :D)
Do you mean you cannot find the "HandyCalculator" macro?

If so, just look for id=19708 or HandyCalculator in the MD Template Store.
They're talking about some doordash macro which they have been asking for in various languages for at least a week.
 

Dm114

Well-known member
Updated version of HandyCalculator with some minor enhancements and 2 added features:
- Automatic rounding
- Help feature


Description field of HandyCalculator macro below:

Small calculator with all operators and functions allowed in MD numerical expressions. To simplify writing, some common functions can be designated by a single letter (available shortcuts are displayed when entering the expression/formula to calculate)

It's also possible to store important or recursive expressions in a History and refer to them like a function shortcut by typing "H(i)" wherever it's needed ("i" is the index # of the History item with no maximum limit). Each item can be deleted when it is not useful anymore. The result of the calculation can be added to the clipboard to Paste it in any other app.

ℹ️ See further explanations in the newly added Help feature

💡It can be launched from a Home screen launcher shortcut and from the MD Drawer or Notification bar. In this case, the calculator will run without leaving the app you are on

💡 See comment on an Empty action line by the bottom of this macro to spare space in MD
 
Top