From 8a356cd839e0191744b4372e99c21790c1f66664 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 24 Feb 2019 15:06:59 -0600 Subject: [PATCH] fixed alert --- Conversions/DecimalToHex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Conversions/DecimalToHex.js b/Conversions/DecimalToHex.js index ead26cceb..db5ee84c2 100644 --- a/Conversions/DecimalToHex.js +++ b/Conversions/DecimalToHex.js @@ -16,7 +16,7 @@ function decimalToHex(num){ hex_out.push(intToHex(num%16)); num = Math.floor(num / 16); } - return intToHex(num) + return hex_out.join(""); + return intToHex(num) + hex_out.join(""); } // test cases