From 817f4a557e3935dc357ddc8ec71f042009debf72 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Fri, 23 Oct 2020 13:43:36 -0400 Subject: [PATCH] remove binstring decimal to bcd --- mathgenerator/funcs/decimal_to_bcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathgenerator/funcs/decimal_to_bcd.py b/mathgenerator/funcs/decimal_to_bcd.py index 2f5eb79..5805987 100644 --- a/mathgenerator/funcs/decimal_to_bcd.py +++ b/mathgenerator/funcs/decimal_to_bcd.py @@ -4,7 +4,7 @@ from .__init__ import * def DecimalToBCDFunc(maxNumber=10000): n = random.randint(1000, maxNumber) x = n - binstring = '' + # binstring = '' bcdstring = '' while x > 0: nibble = x % 16