diff options
-rw-r--r-- | lib/decmath.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/decmath.js b/lib/decmath.js index 4d2da54..348af6a 100644 --- a/lib/decmath.js +++ b/lib/decmath.js @@ -76,9 +76,7 @@ function drhtz(a, p) if (a.length == 1) return null; var ad = a[1].substr(p); a[1] = a[1].substr(0, p); - //console.log("ai: " + a[0] + ", af: " + a[1] + ", ad: " + ad); var as = a.join(""); - //console.log("as: " + as); if (as.charAt(0) != "-") { if (parseInt(ad, 10) > 5 * Math.pow(10, ad.length - 1)) { as = (parseInt(as) + 1).toString(); @@ -99,9 +97,7 @@ function drhfz(a, p) if (a.length == 1) return null; var ad = a[1].substr(p); a[1] = a[1].substr(0, p); - //console.log("ai: " + a[0] + ", af: " + a[1] + ", ad: " + ad); var as = a.join(""); - //console.log("as: " + as); if (as.charAt(0) != "-") { if (parseInt(ad, 10) >= 5 * Math.pow(10, ad.length - 1)) { as = (parseInt(as) + 1).toString(); |