From 2f6f1e382704f829628427995556e4f0e63fc82e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Jan 2017 04:34:08 -0500 Subject: drhtz(), drhfz(): Remove debugging output --- 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(); -- cgit v0.9.1