diff --git a/api/controllers/arithmeticController.js b/api/controllers/arithmeticController.js index 0fccf513d7..b80bd87ac7 100644 --- a/api/controllers/arithmeticController.js +++ b/api/controllers/arithmeticController.js @@ -11,7 +11,7 @@ exports.calculate = function(req, res) { }); var operations = { - 'add': function(a,b) { return +a + +b }, + 'add': function(a,b) { return a + b }, 'subtract': function(a,b) { return a - b }, 'multiply': function(a,b) { return a * b }, 'divide': function(a,b) { return a / b },