diff --git a/index.js b/index.js index e69de29bb..67edf0ab6 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,14 @@ +function add (a,b) { return a + b; } +function subtract (a,b) { return a - b; } +function multiply (a,b) { return a * b; } +function divide (a,b) { return a / b; } + +function increment(n) { + n++; + return n; } +function decrement(n) { + n--; + return n; } + +function makeInt(string) { return parseInt(string,10); } +function preserveDecimal(string) { return parseFloat(string); }