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