Was just thinking about doing one of these, so thanks! How about a version that pops up a dialog box with the sum instead of appending?
It would be pretty easy to edit the automator action and just have it not replace selected text but pass the result to a new action to show it in a dialog. But that's why I made the PopClip extension (shows result) puts it in clipboard: http://brettterpstra.com/20...
Some time ago I made attempt at spreadsheets in mmd tables and this post reminded me of it: https://github.com/bevesce/.... I got carried away and overcomplicated things but the idea is cool, little bit insane, but cool.
Nice, that‘s pretty handy! So far I used http://calca.io, which is awesome for advanced calculations. I would love to see something like this build in nvALT though.
Could this service be altered to work with number systems e.g. used in Europe, where a comma is used as the decimal point? Unfortunately I struggle with Ruby...
There will be a new version up shortly that allows you to define the separator and decimal delimiter at the top of the script inside the workflow. I tried to make it automatically determine these based on locale, but couldn't get that to work in standard Ruby.
The new version should be up in about 10 minutes.