diff --git a/index.js b/index.js index e69de29bb..32dc83ba8 100644 --- a/index.js +++ b/index.js @@ -0,0 +1,27 @@ +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) +{return n+1} + +function decrement(n) +{return n-1} + +function makeInt (n) +{ var n = n.toString() +return parseInt(n,10) +} + +function preserveDecimal(n) +{ var n = n.toString() +return parseFloat(n,10) +}