var x = nerdamer('x+1').subtract('x'); console.log(x.toString()); var x = nerdamer(0.1).subtract(0.2); console.log(x.toString());