I use Notepad++ a lot. It is the best txt editor for me. I write all my scripts/g-codes in there.
As an experimentation I created plugin that implements TNG expression engine as Npp plugin.
It simply evaluates selected text as expression and stores result to clipboard. I no longer need calculator 🙂
Here is short manual and list of all functions: