Popout Calculator for numeric form fields

I'm looking for something similar to Calendar Date Select (http://
code.google.com/p/calendardateselect/), but that pops out a simple
calculator for numeric form fields allowing you to do simple
arithmetic in the field before submission.

Anybody already done that?

Thanks

NeilW