Simple decimal arithmetic for the browser and node.js.  Improved to work in MongoDB mapReduce scope!