remove binstring decimal to bcd

This commit is contained in:
lukew3
2020-10-23 13:43:36 -04:00
parent c8815aec75
commit 817f4a557e

View File

@@ -4,7 +4,7 @@ from .__init__ import *
def DecimalToBCDFunc(maxNumber=10000): def DecimalToBCDFunc(maxNumber=10000):
n = random.randint(1000, maxNumber) n = random.randint(1000, maxNumber)
x = n x = n
binstring = '' # binstring = ''
bcdstring = '' bcdstring = ''
while x > 0: while x > 0:
nibble = x % 16 nibble = x % 16