Does anyone have a calculator gem. I need one that easily embeds into the view.
What do you need to calculate, and what will you do with the result?
I am going to allow the user to use it on the fly. They’ll just calculate basic math.
Here's one I wrote many years ago: http://scripty.walterdavisstudio.com/calculator/ You can't drop this into a jQuery project because it uses Prototype.js and the two don't get along. But it's fun and instructive to read the code.
Very nice. Thank you.